diff options
Diffstat (limited to 'generic/tkListbox.c')
-rw-r--r-- | generic/tkListbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkListbox.c b/generic/tkListbox.c index 0aa66ff..cc73937 100644 --- a/generic/tkListbox.c +++ b/generic/tkListbox.c @@ -1821,7 +1821,7 @@ DisplayListbox(clientData) register Listbox *listPtr = (Listbox *) clientData; register Tk_Window tkwin = listPtr->tkwin; GC gc; - int i, limit, x, y, width, prevSelected, freeGC; + int i, limit, x, y, width = 0, prevSelected, freeGC; Tk_FontMetrics fm; Tcl_Obj *curElement; Tcl_HashEntry *entry; |