changeset 34194:280b461a6676

Add missing parameter to Win32 GUI's call to m_config_parse_config_file(). This parameter is new since r34260 and has been forgotten in r34281.
author ib
date Mon, 31 Oct 2011 12:25:00 +0000
parents 95f91c9bcc9f
children 5affa2074131
files gui/win32/wincfg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/win32/wincfg.c	Mon Oct 31 11:51:03 2011 +0000
+++ b/gui/win32/wincfg.c	Mon Oct 31 12:25:00 2011 +0000
@@ -105,7 +105,7 @@
     mp_msg(MSGT_GPLAYER, MSGL_V, "[GUI] [cfg] reading config file: %s\n", cfg);
     gui_conf = m_config_new();
     m_config_register_options(gui_conf, gui_opts);
-    if (m_config_parse_config_file(gui_conf, cfg) < 0)
+    if (m_config_parse_config_file(gui_conf, cfg, 1) < 0)
         mp_msg(MSGT_GPLAYER, MSGL_FATAL, MSGTR_ConfigFileError);
     free(cfg);
     return 0;