diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-11-08 12:27:25 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-11-08 12:27:25 (GMT) |
commit | 2140e227e9409b50834e84b180e1d3cb4a9d0ecc (patch) | |
tree | 88b5af1ccad5aec8962026c04d8f2301de3a3411 /macosx/tkMacOSXWindowEvent.c | |
parent | f9626b8791b204e2abc39cfc211befbaa74d7202 (diff) | |
parent | f2d49e3c2bd2d6ee9466d8cd814a5eef2a93408f (diff) | |
download | tk-2140e227e9409b50834e84b180e1d3cb4a9d0ecc.zip tk-2140e227e9409b50834e84b180e1d3cb4a9d0ecc.tar.gz tk-2140e227e9409b50834e84b180e1d3cb4a9d0ecc.tar.bz2 |
(micro-) optimize a few Win32 drawing functions, and make them work when npoints=0
Diffstat (limited to 'macosx/tkMacOSXWindowEvent.c')
-rw-r--r-- | macosx/tkMacOSXWindowEvent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXWindowEvent.c b/macosx/tkMacOSXWindowEvent.c index 461a94c..a669a8a 100644 --- a/macosx/tkMacOSXWindowEvent.c +++ b/macosx/tkMacOSXWindowEvent.c @@ -364,10 +364,10 @@ GenerateUpdates( event.xexpose.count = 0; Tk_HandleEvent(&event); - #ifdef TK_MAC_DEBUG_DRAWING +#ifdef TK_MAC_DEBUG_DRAWING NSLog(@"Expose %p {{%d, %d}, {%d, %d}}", event.xany.window, event.xexpose.x, event.xexpose.y, event.xexpose.width, event.xexpose.height); - #endif +#endif /* * Generate updates for the children of this window |