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)
commitb4518f230e3405f278e2b2f49a3d72510992d207 (patch)
treeaf44fd99443b946906c0d35f8ac099b3dd030489 /macosx
parent46640f04c3861fb2619aed0506a430bb13ba9dee (diff)
downloadtk-b4518f230e3405f278e2b2f49a3d72510992d207.zip
tk-b4518f230e3405f278e2b2f49a3d72510992d207.tar.gz
tk-b4518f230e3405f278e2b2f49a3d72510992d207.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;