From 4149200b37503da909ddd0ee0fe75037378f921d Mon Sep 17 00:00:00 2001 From: hobbs Date: Thu, 21 Jul 2005 20:42:12 +0000 Subject: * macosx/tkMacOSXEntry.c (TkpDrawEntryBorderAndFocus): set oldWidth to avoid warning --- ChangeLog | 8 ++++++++ macosx/tkMacOSXEntry.c | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 734d883..56654be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2005-07-21 Jeff Hobbs + + * macosx/tkMacOSXEntry.c (TkpDrawEntryBorderAndFocus): set + oldWidth to avoid warning + + * macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): + corrected if expression error (use of = instead of ==) + 2005-07-06 Jeff Hobbs * doc/getOpenFile.n: correct -multiple docs (takes boolean) 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 -- cgit v0.12