summaryrefslogtreecommitdiffstats
path: root/Gui/win32/dialogs.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/dialogs.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/dialogs.c')
-rw-r--r--Gui/win32/dialogs.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Gui/win32/dialogs.c b/Gui/win32/dialogs.c
index 5be4af04a6..084966604f 100644
--- a/Gui/win32/dialogs.c
+++ b/Gui/win32/dialogs.c
@@ -43,7 +43,6 @@ extern int get_video_colors(sh_video_t *sh_video, char *item, int *value);
guiInterface_t guiIntfStruct;
int addurl = 0;
-#ifdef USE_SUB
extern mp_osd_obj_t* vo_osd_list;
extern char **sub_name;
@@ -89,7 +88,6 @@ void guiLoadSubtitle(char *name)
}
update_set_of_subtitles();
}
-#endif
int display_openfilewindow(gui_t *gui, int add)
{
@@ -156,7 +154,6 @@ int display_openfilewindow(gui_t *gui, int add)
return result;
}
-#ifdef USE_SUB
void display_opensubtitlewindow(gui_t *gui)
{
OPENFILENAME subtitleopen;
@@ -183,7 +180,6 @@ void display_opensubtitlewindow(gui_t *gui)
if(GetOpenFileName(&subtitleopen))
guiLoadSubtitle(subtitlefile);
}
-#endif
void display_loadplaylistwindow(gui_t *gui)
{