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