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
This commit is contained in:
Manolo Gouy 2017-11-13 14:47:49 +00:00
parent b171a28de4
commit 00eef649ca

View File

@ -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;
}