diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-01-10 11:28:33 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-01-10 11:28:33 (GMT) |
commit | 587df2a3c0d221979267d8549003fa2dda184a38 (patch) | |
tree | 1313644aa932c753c04cf7d0ed2cbe7a9c0c5c77 /generic | |
parent | 7b3b30d439640b2474a81ff1b97c8ae264811165 (diff) | |
download | tk-587df2a3c0d221979267d8549003fa2dda184a38.zip tk-587df2a3c0d221979267d8549003fa2dda184a38.tar.gz tk-587df2a3c0d221979267d8549003fa2dda184a38.tar.bz2 |
Missed 2 spots in previous commit (only relevant for test-suite)
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkSquare.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkSquare.c b/generic/tkSquare.c index 39083d4..40d5e8f 100644 --- a/generic/tkSquare.c +++ b/generic/tkSquare.c @@ -335,7 +335,7 @@ SquareConfigure( Tk_SetWindowBackground(squarePtr->tkwin, Tk_3DBorderColor(bgBorder)->pixel); Tcl_GetBooleanFromObj(NULL, squarePtr->doubleBufferPtr, &doubleBuffer); - if ((squarePtr->gc == None) && (doubleBuffer)) { + if ((squarePtr->gc == NULL) && (doubleBuffer)) { XGCValues gcValues; gcValues.function = GXcopy; gcValues.graphics_exposures = False; @@ -400,7 +400,7 @@ SquareObjEventProc( if (squarePtr->tkwin != NULL) { Tk_FreeConfigOptions((char *) squarePtr, squarePtr->optionTable, squarePtr->tkwin); - if (squarePtr->gc != None) { + if (squarePtr->gc != NULL) { Tk_FreeGC(squarePtr->display, squarePtr->gc); } squarePtr->tkwin = NULL; |