From e06790f0f286a4f132ab745ff1791670b29802e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= Date: Wed, 21 Mar 2018 10:29:44 +0100 Subject: [PATCH] intromsg: Ensure non-ascii characters are properly displayed on win32 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit dab13a3c28a1f951b50ca13a5ef0469146304c2a) Signed-off-by: Hugo Beauzée-Luyssen --- modules/control/intromsg.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/control/intromsg.h b/modules/control/intromsg.h index 7af95204b7..a0f85dce92 100644 --- a/modules/control/intromsg.h +++ b/modules/control/intromsg.h @@ -19,7 +19,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ -static inline void intf_consoleIntroMsg(intf_thread_t *intf) +static inline void intf_consoleIntroMsg(intf_thread_t *p_intf) { if (getenv( "PWD" ) == NULL) /* detect Cygwin shell or Wine */ { @@ -29,9 +29,9 @@ static inline void intf_consoleIntroMsg(intf_thread_t *intf) freopen("CONIN$", "r", stdin); } - msg_Info(intf, "VLC media player - %s", VERSION_MESSAGE); - msg_Info(intf, "%s", COPYRIGHT_MESSAGE); - msg_Info(intf, _("\nWarning: if you cannot access the GUI " + msg_rc("VLC media player - %s", VERSION_MESSAGE); + msg_rc("%s", COPYRIGHT_MESSAGE); + msg_rc(_("\nWarning: if you cannot access the GUI " "anymore, open a command-line window, go to the " "directory where you installed VLC and run " "\"vlc -I qt\"\n"));