diff options
author | das <das@noemail.net> | 2008-06-12 06:30:22 (GMT) |
---|---|---|
committer | das <das@noemail.net> | 2008-06-12 06:30:22 (GMT) |
commit | 3373dd21dd8dc597946a0db2f496bce98d243cee (patch) | |
tree | 9c8f46e7ce0447bd7467640312375bf8e979c9d2 /generic/ttk | |
parent | 36324b080817520349cb0d08e0ec244d4c492933 (diff) | |
download | tk-3373dd21dd8dc597946a0db2f496bce98d243cee.zip tk-3373dd21dd8dc597946a0db2f496bce98d243cee.tar.gz tk-3373dd21dd8dc597946a0db2f496bce98d243cee.tar.bz2 |
* generic/ttk/ttkTreeview.c: fix warning.
FossilOrigin-Name: 83d9a97ee3c6c2d72e6199322a1269fc2594a857
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; |