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
1 changed files with 1 additions and 0 deletions

View File

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