diff options
author | Andrey Nazarov <skuller@skuller.net> | 2011-02-06 01:11:12 +0300 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2011-02-06 17:32:57 +0300 |
commit | 8faff7d5641f489aefcad9385a43c1f34ab3d716 (patch) | |
tree | fbbfc65aa282c47c57fe128d7a3f17b7147f4401 /src/sys_win.c | |
parent | 2247a39d25b36046899c231f3f64a553af861dd3 (diff) |
Define PRODUCT string in upper case.
Use it in the appropriate places.
Diffstat (limited to 'src/sys_win.c')
-rw-r--r-- | src/sys_win.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sys_win.c b/src/sys_win.c index 211ab29..4ca0a6c 100644 --- a/src/sys_win.c +++ b/src/sys_win.c @@ -356,7 +356,7 @@ static void Sys_ConsoleInit( void ) { sys_con.printf = Sys_Printf; gotConsole = qtrue; - SetConsoleTitle( APPLICATION " console" ); + SetConsoleTitle( PRODUCT " console" ); SetConsoleCtrlHandler( Sys_ConsoleCtrlHandler, TRUE ); GetConsoleMode( hinput, &mode ); mode |= ENABLE_WINDOW_INPUT; @@ -631,7 +631,7 @@ void Sys_Error( const char *error, ... ) { Sleep( INFINITE ); } #endif - MessageBoxA( NULL, text, APPLICATION " Fatal Error", MB_ICONERROR | MB_OK ); + MessageBoxA( NULL, text, PRODUCT " Fatal Error", MB_ICONERROR | MB_OK ); } exit( 1 ); @@ -702,13 +702,13 @@ void Sys_Init( void ) { iswinnt = qtrue; if( vinfo.dwMajorVersion < 4 ) { - Sys_Error( APPLICATION " requires windows version 4 or greater" ); + Sys_Error( PRODUCT " requires windows version 4 or greater" ); } if( vinfo.dwPlatformId == VER_PLATFORM_WIN32s ) { - Sys_Error( APPLICATION " doesn't run on Win32s" ); + Sys_Error( PRODUCT " doesn't run on Win32s" ); } else if( vinfo.dwPlatformId == VER_PLATFORM_WIN32_WINDOWS ) { if( vinfo.dwMinorVersion == 0 ) { - Sys_Error( APPLICATION " doesn't run on Win95" ); + Sys_Error( PRODUCT " doesn't run on Win95" ); } iswinnt = qfalse; } |