summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorhobbs <hobbs>2005-07-21 20:41:49 (GMT)
committerhobbs <hobbs>2005-07-21 20:41:49 (GMT)
commita7dc910e6a6a8b64de8792956888e5d4e00b6812 (patch)
treeaf44fd99443b946906c0d35f8ac099b3dd030489 /macosx
parent702a586f6bbd53f441deddf6e5daa4b6e32e3ecf (diff)
downloadtk-a7dc910e6a6a8b64de8792956888e5d4e00b6812.zip
tk-a7dc910e6a6a8b64de8792956888e5d4e00b6812.tar.gz
tk-a7dc910e6a6a8b64de8792956888e5d4e00b6812.tar.bz2
* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent):
corrected if expression error (use of = instead of ==)
Diffstat (limited to 'macosx')
-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;