summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Fl_mac.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_mac.cxx b/src/Fl_mac.cxx
index f532003a7..48f22a27f 100644
--- a/src/Fl_mac.cxx
+++ b/src/Fl_mac.cxx
@@ -964,7 +964,7 @@ static pascal OSStatus carbonMouseHandler( EventHandlerCallRef nextHandler, Even
UInt32 chord;
GetEventParameter( event, kEventParamMouseChord, typeUInt32, NULL, sizeof(UInt32), NULL, &chord );
WindowRef xid = fl_xid(window), tempXid;
- int sendEvent = 0, part;
+ int sendEvent = 0, part = 0;
switch ( GetEventKind( event ) )
{
case kEventMouseDown: