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

Hugo Beauzée-Luyssen git at videolan.org
Wed Mar 21 15:08:01 CET 2018


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

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

(cherry picked from commit dab13a3c28a1f951b50ca13a5ef0469146304c2a)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

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

 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