Mercurial > mplayer.hg
diff gui/win32/dialogs.c @ 33773:a3983d2c9106
Remove unused members from struct guiInterface_t.
Dynamic label variable $d isn't documented and would not return anything
of value.
Setting XEvent type KeyPress to None in gui/ui/main.c isn't necessary,
because for this event there is a 'break' in libvo/x11_common.c in case
CONFIG_GUI is defined.
author | ib |
---|---|
date | Sun, 10 Jul 2011 11:21:40 +0000 |
parents | 03824cf8728d |
children | b42abb9c7f2c |
line wrap: on
line diff
--- a/gui/win32/dialogs.c Sat Jul 09 18:11:42 2011 +0000 +++ b/gui/win32/dialogs.c Sun Jul 10 11:21:40 2011 +0000 @@ -47,11 +47,8 @@ void mplayerLoadSubtitle(char *name) { - if (!guiInfo.Playing) - { - guiInfo.SubtitleChanged = 1; - return; - } + if (!guiInfo.Playing) return; + if (subdata) { mp_msg(MSGT_GPLAYER, MSGL_INFO, MSGTR_DeletingSubtitles);