diff options
Diffstat (limited to 'video/dedicated_v.c')
-rw-r--r-- | video/dedicated_v.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/video/dedicated_v.c b/video/dedicated_v.c index 4c827d913..e0124e02c 100644 --- a/video/dedicated_v.c +++ b/video/dedicated_v.c @@ -64,6 +64,7 @@ static void DedicatedSignalHandler(int sig) #include <windows.h> /* GetTickCount */ #include <conio.h> #include <time.h> +#include <tchar.h> static HANDLE _hInputReady, _hWaitForInputHandling; static HANDLE _hThread; // Thread to close static char _win_console_thread_buffer[200]; @@ -121,10 +122,10 @@ static const char *DedicatedVideoStart(const char * const *parm) _debug_misc_level = 0; #ifdef WIN32 - // For win32 we need to allocate an console (debug mode does the same) + // For win32 we need to allocate a console (debug mode does the same) CreateConsole(); CreateWindowsConsoleThread(); - SetConsoleTitle("OpenTTD Dedicated Server"); + SetConsoleTitle(_T("OpenTTD Dedicated Server")); #endif #ifdef __OS2__ |