diff options
author | hobbs <hobbs> | 2005-07-21 20:42:12 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2005-07-21 20:42:12 (GMT) |
commit | 4149200b37503da909ddd0ee0fe75037378f921d (patch) | |
tree | fcca9dca69012cf02b52e8840fe4f8ec853f1dae /macosx/tkMacOSXEntry.c | |
parent | a7dc910e6a6a8b64de8792956888e5d4e00b6812 (diff) | |
download | tk-4149200b37503da909ddd0ee0fe75037378f921d.zip tk-4149200b37503da909ddd0ee0fe75037378f921d.tar.gz tk-4149200b37503da909ddd0ee0fe75037378f921d.tar.bz2 |
* macosx/tkMacOSXEntry.c (TkpDrawEntryBorderAndFocus): set
oldWidth to avoid warning
Diffstat (limited to 'macosx/tkMacOSXEntry.c')
-rw-r--r-- | macosx/tkMacOSXEntry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXEntry.c b/macosx/tkMacOSXEntry.c index ee67eb3..3d9a6f0 100644 --- a/macosx/tkMacOSXEntry.c +++ b/macosx/tkMacOSXEntry.c @@ -151,7 +151,7 @@ TkpDrawEntryBorderAndFocus(Entry *entryPtr, Drawable d, int isSpinbox) GC bgGC; Tk_Window tkwin = entryPtr->tkwin; ThemeDrawState drawState; - int oldWidth; + int oldWidth = 0; /* * I use 6 as the borderwidth. 2 of the 5 go into the actual frame the |