diff options
author | das <das> | 2008-06-12 06:30:22 (GMT) |
---|---|---|
committer | das <das> | 2008-06-12 06:30:22 (GMT) |
commit | 2a65d05851313c5848bb1664c976534d5bfa1971 (patch) | |
tree | 9c8f46e7ce0447bd7467640312375bf8e979c9d2 /generic/ttk | |
parent | 97cf7145c42dfdfb9810735a583b2586d7cd0cc7 (diff) | |
download | tk-2a65d05851313c5848bb1664c976534d5bfa1971.zip tk-2a65d05851313c5848bb1664c976534d5bfa1971.tar.gz tk-2a65d05851313c5848bb1664c976534d5bfa1971.tar.bz2 |
* generic/ttk/ttkTreeview.c: fix warning.
Diffstat (limited to 'generic/ttk')
-rw-r--r-- | generic/ttk/ttkTreeview.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/generic/ttk/ttkTreeview.c b/generic/ttk/ttkTreeview.c index 00280cf..e9ac22a 100644 --- a/generic/ttk/ttkTreeview.c +++ b/generic/ttk/ttkTreeview.c @@ -1,4 +1,4 @@ -/* $Id: ttkTreeview.c,v 1.27 2008/06/01 08:28:18 jenglish Exp $ +/* $Id: ttkTreeview.c,v 1.28 2008/06/12 06:30:22 das Exp $ * Copyright (c) 2004, Joe English * * ttk::treeview widget implementation. @@ -1510,8 +1510,9 @@ static const char *regionStrings[] = { static TreeRegion IdentifyRegion(Treeview *tv, int x, int y) { - int x1, colno = IdentifyDisplayColumn(tv, x, &x1); - + int x1 = 0, colno; + + colno = IdentifyDisplayColumn(tv, x, &x1); if (Ttk_BoxContains(tv->tree.headingArea, x, y)) { if (colno < 0) { return REGION_NOTHING; |