From 412c61761cf4a0e5dcef5ffb597c7b5bca317a8b Mon Sep 17 00:00:00 2001 From: hobbs Date: Thu, 21 Jul 2005 20:40:15 +0000 Subject: * macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): corrected if expression error (use of = instead of ==) --- ChangeLog | 5 +++++ macosx/tkMacOSXMouseEvent.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9a20891..bb3e0c6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-07-21 Jeff Hobbs + + * macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): + corrected if expression error (use of = instead of ==) + 2005-07-18 Vince Darley * generic/tkTextMark.c: fix to segfault in "mark prev" diff --git a/macosx/tkMacOSXMouseEvent.c b/macosx/tkMacOSXMouseEvent.c index 69a322b..0346fbf 100644 --- a/macosx/tkMacOSXMouseEvent.c +++ b/macosx/tkMacOSXMouseEvent.c @@ -312,7 +312,7 @@ TkMacOSXProcessMouseEvent(TkMacOSXEvent *eventPtr, MacEventStatus * statusPtr) break; case inCollapseBox: err = HandleInCollapse(medPtr->whichWin); - if (err = noErr) { + if (err == noErr) { statusPtr->err = 1; } statusPtr->stopProcessing = 1; -- cgit v0.12