Remove compilation warning apparent with -Wnull-conversion
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12108 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
169a8ee238
commit
3b7d9185ef
@ -156,7 +156,7 @@ void Fl_Quartz_Graphics_Driver::draw(Fl_RGB_Image *img, int XP, int YP, int WP,
|
||||
CGImageRef cgimg = (CGImageRef)*Fl_Graphics_Driver::id(img);
|
||||
if (cgimg && has_feature(PRINTER) && !*Fl_Graphics_Driver::mask(img)) {
|
||||
CGImageRelease(cgimg);
|
||||
*Fl_Graphics_Driver::id(img) = NULL;
|
||||
*Fl_Graphics_Driver::id(img) = 0;
|
||||
cgimg = NULL;
|
||||
}
|
||||
if (!cgimg) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user