[vlc-commits] intromsg: Ensure non-ascii characters are properly displayed on win32

Hugo Beauzée-Luyssen git at videolan.org
Wed Mar 21 10:50:39 CET 2018


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Mar 21 10:29:44 2018 +0100| [dab13a3c28a1f951b50ca13a5ef0469146304c2a] | committer: Hugo Beauzée-Luyssen

intromsg: Ensure non-ascii characters are properly displayed on win32

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dab13a3c28a1f951b50ca13a5ef0469146304c2a
---

 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"));



More information about the vlc-commits mailing list