summaryrefslogtreecommitdiff
path: root/src/video
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2007-03-10 00:29:20 +0000
committerDarkvater <Darkvater@openttd.org>2007-03-10 00:29:20 +0000
commit8007fb38d4e2c3db047c7867d9fd3814686540f3 (patch)
tree04c74c4945d94a66b2c3e806f8f447c43e5ab211 /src/video
parent6f36db349f55ef9079e71ff816d6cdd39d12dc11 (diff)
downloadopenttd-8007fb38d4e2c3db047c7867d9fd3814686540f3.tar.xz
(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.
Diffstat (limited to 'src/video')
-rw-r--r--src/video/win32_v.cpp3
1 files changed, 0 insertions, 3 deletions
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: {