changeset 34592:ddf8f24a93a6

Show option save error in message box. The user probably won't notice otherwise.
author ib
date Fri, 10 Feb 2012 14:13:14 +0000
parents 73348cfa22e2
children 83f7a2f8af3b
files gui/cfg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/cfg.c	Fri Feb 10 13:48:42 2012 +0000
+++ b/gui/cfg.c	Fri Feb 10 14:13:14 2012 +0000
@@ -365,7 +365,7 @@
             char *val = m_option_print(&gui_opts[i], gui_opts[i].p);
 
             if (val == (char *)-1) {
-                mp_msg(MSGT_GPLAYER, MSGL_WARN, MSGTR_UnableToSaveOption, gui_opts[i].name);
+                gmp_msg(MSGT_GPLAYER, MSGL_WARN, MSGTR_UnableToSaveOption, gui_opts[i].name);
                 val = NULL;
             }