1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-13 10:26:09 +00:00

fix crash when using close button

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13120 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nplourde 2004-08-24 17:40:31 +00:00
parent 73235f6771
commit d49ef7f8ce

View File

@ -213,6 +213,7 @@ static OSStatus MainEventHandler(EventHandlerCallRef nextHandler, EventRef event
{
//close window
case kEventWindowClosed:
uninit();
mplayer_put_key(KEY_ESC);
break;