summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-08-04 13:51:41 +0000
committertruelight <truelight@openttd.org>2007-08-04 13:51:41 +0000
commitce9cba5edbd5b6e14553eddd4b004af8e3602c08 (patch)
treebb733a6329cd9f70e29fa834a3f383aec9e4b11c
parent424757c078410041cce35a8678b59b7a56c47ccb (diff)
downloadopenttd-ce9cba5edbd5b6e14553eddd4b004af8e3602c08.tar.xz
(svn r10782) -Fix: wrongly places #endif a long time ago broke WinCE compiling for sure
-rw-r--r--src/video/win32_v.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/video/win32_v.cpp b/src/video/win32_v.cpp
index a963575c5..02ad4a2d4 100644
--- a/src/video/win32_v.cpp
+++ b/src/video/win32_v.cpp
@@ -634,10 +634,9 @@ static LRESULT CALLBACK WndProcGdi(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lP
ChangeDisplaySettings(NULL, 0);
}
}
- break;
- }
- }
+ } break;
#endif
+ }
return DefWindowProc(hwnd, msg, wParam, lParam);
}