diff options
author | culler <culler> | 2020-07-16 14:32:06 (GMT) |
---|---|---|
committer | culler <culler> | 2020-07-16 14:32:06 (GMT) |
commit | f6c1908879a22fd92cbcd008c9b05bcae14aab7c (patch) | |
tree | 57ef6aa44dd07850782a772d7005874745b0c1ab /generic/tkTest.c | |
parent | 3a4dab519f8f01cd8d16d28af150bb2b07894b5f (diff) | |
download | tk-f6c1908879a22fd92cbcd008c9b05bcae14aab7c.zip tk-f6c1908879a22fd92cbcd008c9b05bcae14aab7c.tar.gz tk-f6c1908879a22fd92cbcd008c9b05bcae14aab7c.tar.bz2 |
Fix stupid error with isDrawing - thanks Christopher, Nicolas and Kevin.
Diffstat (limited to 'generic/tkTest.c')
-rw-r--r-- | generic/tkTest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkTest.c b/generic/tkTest.c index a8929b9..e80f488 100644 --- a/generic/tkTest.c +++ b/generic/tkTest.c @@ -31,9 +31,9 @@ #if defined(MAC_OSX_TK) #include "tkMacOSXInt.h" #include "tkScrollbar.h" -#define LOG_DISPLAY TkTestLogDisplay() +#define LOG_DISPLAY(drawable) TkTestLogDisplay(drawable) #else -#define LOG_DISPLAY 1 +#define LOG_DISPLAY(drawable) 1 #endif #ifdef __UNIX__ @@ -1581,7 +1581,7 @@ ImageDisplay( * not just the changed portion. Tests must account for this. */ - if (LOG_DISPLAY) { + if (LOG_DISPLAY(drawable)) { sprintf(buffer, "%s display %d %d %d %d", instPtr->masterPtr->imageName, imageX, imageY, width, height); Tcl_SetVar2(instPtr->masterPtr->interp, instPtr->masterPtr->varName, |