summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authortreectrl <treectrl>2005-10-15 03:05:28 (GMT)
committertreectrl <treectrl>2005-10-15 03:05:28 (GMT)
commit369e07e6b8ea5c9914bed4cbec92163bf5c77543 (patch)
tree9584c0b2e06cc31a662bd177db451c594cf8229b /generic
parent5ebebb12e0afd9a03616cae62e41a29b5b9063a5 (diff)
downloadtktreectrl-369e07e6b8ea5c9914bed4cbec92163bf5c77543.zip
tktreectrl-369e07e6b8ea5c9914bed4cbec92163bf5c77543.tar.gz
tktreectrl-369e07e6b8ea5c9914bed4cbec92163bf5c77543.tar.bz2
Fix compile issue on Mac [Patch 1311956]
Diffstat (limited to 'generic')
-rw-r--r--generic/tkTreeCtrl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tkTreeCtrl.c b/generic/tkTreeCtrl.c
index 88326ab..3b17acd 100644
--- a/generic/tkTreeCtrl.c
+++ b/generic/tkTreeCtrl.c
@@ -7,7 +7,7 @@
* Copyright (c) 2002-2003 Christian Krone
* Copyright (c) 2003-2005 ActiveState, a division of Sophos
*
- * RCS: @(#) $Id: tkTreeCtrl.c,v 1.57 2005/09/28 03:27:02 hobbs2 Exp $
+ * RCS: @(#) $Id: tkTreeCtrl.c,v 1.58 2005/10/15 03:05:28 treectrl Exp $
*/
#include "tkTreeCtrl.h"
@@ -3664,6 +3664,7 @@ LoupeCmd(
/*
* Adapted from John Anon's ScreenController demo code.
*/
+ {
int xx, yy;
unsigned char *screenBytes;
int bPerPixel, byPerRow, byPerPixel;
@@ -3719,6 +3720,7 @@ LoupeCmd(
}
}
CGDisplayShowCursor(kCGDirectMainDisplay);
+ }
#else
ximage = XGetImage(display, rootWindow,
grabX, grabY, grabW, grabH, AllPlanes, ZPixmap);