From 8007fb38d4e2c3db047c7867d9fd3814686540f3 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Sat, 10 Mar 2007 00:29:20 +0000 Subject: (svn r9085) -Codechange/Fix: [win32] Move the initialisation of _codepage (non-UNICODE) to winMain as a dedicated server, or different video driver will not have a win32 messageloop. --- src/video/win32_v.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/video') diff --git a/src/video/win32_v.cpp b/src/video/win32_v.cpp index aecfbd226..96138bbcc 100644 --- a/src/video/win32_v.cpp +++ b/src/video/win32_v.cpp @@ -214,9 +214,6 @@ static LRESULT CALLBACK WndProcGdi(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lP switch (msg) { case WM_CREATE: SetTimer(hwnd, TID_POLLMOUSE, MOUSE_POLL_DELAY, (TIMERPROC)TrackMouseTimerProc); -#if !defined(UNICODE) - _codepage = GetACP(); // get system codepage as some kind of a default -#endif /* UNICODE */ break; case WM_PAINT: { -- cgit v1.2.3-70-g09d2