diff options
Diffstat (limited to 'generic/tkCanvBmap.c')
-rw-r--r-- | generic/tkCanvBmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkCanvBmap.c b/generic/tkCanvBmap.c index 42ea262..b9de07b 100644 --- a/generic/tkCanvBmap.c +++ b/generic/tkCanvBmap.c @@ -371,7 +371,7 @@ ConfigureBitmap( } } - if (!bitmap) { + if (bitmap == None) { newGC = NULL; } else { gcValues.foreground = fgColor->pixel; @@ -385,7 +385,7 @@ ConfigureBitmap( } newGC = Tk_GetGC(tkwin, mask, &gcValues); } - if (bmapPtr->gc != None) { + if (bmapPtr->gc != NULL) { Tk_FreeGC(Tk_Display(tkwin), bmapPtr->gc); } bmapPtr->gc = newGC; |