summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--macosx/tkMacOSXMouseEvent.c2
1 files changed, 1 insertions, 1 deletions
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;