summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorhobbs2 <hobbs2>2005-09-25 20:56:32 (GMT)
committerhobbs2 <hobbs2>2005-09-25 20:56:32 (GMT)
commit76814402611aa3ce81e584aa1cec839378836952 (patch)
tree6c571a549faa817b4af7bddc1b895036bf2bb226 /generic
parent3e695660943911fc27a7b85caf781ee7b87fccf2 (diff)
downloadtktreectrl-76814402611aa3ce81e584aa1cec839378836952.zip
tktreectrl-76814402611aa3ce81e584aa1cec839378836952.tar.gz
tktreectrl-76814402611aa3ce81e584aa1cec839378836952.tar.bz2
reorg used vars into right areas
Diffstat (limited to 'generic')
-rw-r--r--generic/tkTreeCtrl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tkTreeCtrl.c b/generic/tkTreeCtrl.c
index 05db8ca..175d44b 100644
--- a/generic/tkTreeCtrl.c
+++ b/generic/tkTreeCtrl.c
@@ -7,7 +7,7 @@
* Copyright (c) 2002-2003 Christian Krone
* Copyright (c) 2003-2004 ActiveState, a division of Sophos
*
- * RCS: @(#) $Id: tkTreeCtrl.c,v 1.53 2005/09/25 20:53:24 hobbs2 Exp $
+ * RCS: @(#) $Id: tkTreeCtrl.c,v 1.54 2005/09/25 20:56:32 hobbs2 Exp $
*/
#include "tkTreeCtrl.h"
@@ -3524,19 +3524,19 @@ LoupeCmd(
Tk_PhotoHandle photoH;
Tk_PhotoImageBlock photoBlock;
unsigned char *pixelPtr;
- int x, y, w, h, zoom, xx, yy;
+ int x, y, w, h, zoom;
int grabX, grabY, grabW, grabH;
- int i, ncolors;
#ifdef WIN32
+ int xx, yy;
HWND hwnd;
HDC hdc;
#else
- int screenNum = Tk_ScreenNumber(tkwin);
Visual *visual = Tk_Visual(tkwin);
Window rootWindow = RootWindow(display, screenNum);
XImage *ximage;
XColor *xcolors;
unsigned long red_shift, green_shift, blue_shift;
+ int i, ncolors;
int separated = 0;
#endif