summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>2005-07-21 20:42:11 (GMT)
committerhobbs <hobbs@noemail.net>2005-07-21 20:42:11 (GMT)
commit2fff0ed4b9acc5e85266b5f328cb2219ff1bb0c1 (patch)
treefcca9dca69012cf02b52e8840fe4f8ec853f1dae
parent2dd4ce21682eae3c5e714f9d3898f4b603f23293 (diff)
downloadtk-2fff0ed4b9acc5e85266b5f328cb2219ff1bb0c1.zip
tk-2fff0ed4b9acc5e85266b5f328cb2219ff1bb0c1.tar.gz
tk-2fff0ed4b9acc5e85266b5f328cb2219ff1bb0c1.tar.bz2
* macosx/tkMacOSXEntry.c (TkpDrawEntryBorderAndFocus): set
oldWidth to avoid warning FossilOrigin-Name: ead97576672b55549678f2a1bdfddf2c3aa220ca
-rw-r--r--ChangeLog8
-rw-r--r--macosx/tkMacOSXEntry.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 734d883..56654be 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2005-07-21 Jeff Hobbs <jeffh@ActiveState.com>
+
+ * 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 <jeffh@ActiveState.com>
* 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