[vlc-commits] Win32: use TEXT macro for SetConsoleTitle

Jean-Baptiste Kempf git at videolan.org
Mon Jan 14 16:31:42 CET 2013


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jan 14 17:29:52 2013 +0100| [db6b6f8cab52b998260441af58d51022fa5bd1af] | committer: Jean-Baptiste Kempf

Win32: use TEXT macro for SetConsoleTitle

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

 src/config/help.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/config/help.c b/src/config/help.c
index 3103a92..bc9dd82 100644
--- a/src/config/help.c
+++ b/src/config/help.c
@@ -813,7 +813,7 @@ static void ShowConsole( void )
      * Unicode/locale subsystem. By default, we have the obsolecent OEM code
      * page (e.g. CP437 or CP850). */
     SetConsoleOutputCP (GetACP ());
-    SetConsoleTitle ("VLC media player version "PACKAGE_VERSION);
+    SetConsoleTitle (TEXT("VLC media player version "PACKAGE_VERSION));
 
     freopen( "CONOUT$", "w", stderr );
     freopen( "CONIN$", "r", stdin );



More information about the vlc-commits mailing list