[MPlayer-cvslog] r38290 - in trunk: gui/app/cfg.c gui/win32/wincfg.c help/help_mp-bg.h help/help_mp-cs.h help/help_mp-de.h help/help_mp-en.h help/help_mp-es.h help/help_mp-fr.h help/help_mp-hu.h help/help_mp-it.h h...

ib subversion at mplayerhq.hu
Mon Mar 1 16:00:41 EET 2021


Author: ib
Date: Mon Mar  1 16:00:41 2021
New Revision: 38290

Log:
Don't consider MSGTR_GUI_ConfigFileError to be a text constant.

Revise the definition of MSGTR_GUI_ConfigFileError and insert
the necessary newline there.

The same applies to MSGTR_GUI_WIN32_ConfigFileError.

Modified:
   trunk/gui/app/cfg.c
   trunk/gui/win32/wincfg.c

Changes in other areas also in this revision:
Modified:
   trunk/help/help_mp-bg.h
   trunk/help/help_mp-cs.h
   trunk/help/help_mp-de.h
   trunk/help/help_mp-en.h
   trunk/help/help_mp-es.h
   trunk/help/help_mp-fr.h
   trunk/help/help_mp-hu.h
   trunk/help/help_mp-it.h
   trunk/help/help_mp-nl.h
   trunk/help/help_mp-pl.h
   trunk/help/help_mp-ru.h
   trunk/help/help_mp-sk.h
   trunk/help/help_mp-sv.h
   trunk/help/help_mp-tr.h
   trunk/help/help_mp-uk.h
   trunk/help/help_mp-zh_CN.h
   trunk/help/help_mp-zh_TW.h

Modified: trunk/gui/app/cfg.c
==============================================================================
--- trunk/gui/app/cfg.c	Mon Mar  1 15:56:54 2021	(r38289)
+++ trunk/gui/app/cfg.c	Mon Mar  1 16:00:41 2021	(r38290)
@@ -285,7 +285,7 @@ void cfg_read(void)
     m_config_register_options(gui_conf, gui_opts);
 
     if (!disable_gui_conf && (m_config_parse_config_file(gui_conf, fname, 1) < 0)) {
-        gmp_msg(MSGT_GPLAYER, MSGL_ERR, MSGTR_GUI_ConfigFileError "\n");
+        gmp_msg(MSGT_GPLAYER, MSGL_ERR, MSGTR_GUI_ConfigFileError);
         mplayer(MPLAYER_EXIT_GUI, EXIT_ERROR, 0);
     }
 

Modified: trunk/gui/win32/wincfg.c
==============================================================================
--- trunk/gui/win32/wincfg.c	Mon Mar  1 15:56:54 2021	(r38289)
+++ trunk/gui/win32/wincfg.c	Mon Mar  1 16:00:41 2021	(r38290)
@@ -106,7 +106,7 @@ void cfg_read(void)
     gui_conf = m_config_new();
     m_config_register_options(gui_conf, gui_opts);
     if (m_config_parse_config_file(gui_conf, cfg, 1) < 0)
-        mp_msg(MSGT_GPLAYER, MSGL_ERR, MSGTR_GUI_WIN32_ConfigFileError "\n");
+        mp_msg(MSGT_GPLAYER, MSGL_ERR, MSGTR_GUI_WIN32_ConfigFileError);
     free(cfg);
 }
 


More information about the MPlayer-cvslog mailing list