summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2017-11-13 14:47:49 +0000
committerManolo Gouy <Manolo>2017-11-13 14:47:49 +0000
commit00eef649ca4b71d1525328d502fb05d8868c720c (patch)
treebb540eceaa6dfd992ad107331853aa9907f5533e /src
parentb171a28de448dbe1347672044250f8b2ed37df32 (diff)
MacOS: complete commit at r.12559 that contained a typo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12560 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_cocoa.mm3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm
index 1a33422a4..4479198cc 100644
--- a/src/Fl_cocoa.mm
+++ b/src/Fl_cocoa.mm
@@ -1431,7 +1431,8 @@ static FLWindowDelegate *flwindowdelegate_instance = nil;
{
fl_lock_function();
Fl_Window *win = [(FLWindow *)fl getFl_Window];
- if (win) Fl::handle(FL_CLOSE, win); // this might or might not close the window fl_unlock_function();
+ if (win) Fl::handle(FL_CLOSE, win); // this might or might not close the window
+ fl_unlock_function();
// the system doesn't need to send [fl close] because FLTK does it when needed
return NO;
}