summaryrefslogtreecommitdiffstats
path: root/Gui/win32/interface.c
diff options
context:
space:
mode:
authoruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-21 20:48:17 +0000
committeruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-21 20:48:17 +0000
commit2b50b7ddab6524345ace4e75a0b476bedf3a9c8a (patch)
treeb628dffa4b7e470d2400efe716ff736abca2b846 /Gui/win32/interface.c
parent033fc8c6dd130df730215da4f2f78033153f3033 (diff)
downloadmpv-2b50b7ddab6524345ace4e75a0b476bedf3a9c8a.tar.bz2
mpv-2b50b7ddab6524345ace4e75a0b476bedf3a9c8a.tar.xz
Make compilation depending on USE_SUB unconditional.
USE_SUB was hardcoded to true in configure, manually turning it off would break compilation, and there's no apparent reason why having all subtitle code under #ifdefs (even working ones) would be worth the clutter. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21156 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/win32/interface.c')
-rw-r--r--Gui/win32/interface.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Gui/win32/interface.c b/Gui/win32/interface.c
index 6fd964acc3..0da169da87 100644
--- a/Gui/win32/interface.c
+++ b/Gui/win32/interface.c
@@ -750,12 +750,10 @@ int guiGetEvent(int type, char *arg)
if(fullscreen) guiSetEvent(evFullScreen);
PostMessage(mygui->mainwindow, WM_COMMAND, (WPARAM) IDFILE_OPEN, 0);
break;
-#ifdef USE_SUB
case MP_CMD_GUI_LOADSUBTITLE:
if(fullscreen) guiSetEvent(evFullScreen);
PostMessage(mygui->mainwindow, WM_COMMAND, (WPARAM) IDSUBTITLE_OPEN, 0);
break;
-#endif
default:
break;
}