diff options
author | Darkvater <darkvater@openttd.org> | 2007-03-03 13:13:25 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2007-03-03 13:13:25 +0000 |
commit | b024134c6aa6a62cd037095233bb100af451defc (patch) | |
tree | e23571062559350799e6cbc2abfd8a1d772d6c1f | |
parent | db2f57e3a1079e4f9ccedede4152de93b36f94ab (diff) | |
download | openttd-b024134c6aa6a62cd037095233bb100af451defc.tar.xz |
(svn r8994) -Fix [FS642, r3320]: [win32] Resolution doubled in cfg file when fullscreen mode used. Use _wnd.double_size which gives back its correct state with respect to double size and fullscreen.
-rw-r--r-- | src/video/win32_v.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/win32_v.cpp b/src/video/win32_v.cpp index 1e811d1c9..b23d57ac5 100644 --- a/src/video/win32_v.cpp +++ b/src/video/win32_v.cpp @@ -758,7 +758,7 @@ static void Win32GdiStop(void) #if !defined(WINCE) if (_wnd.fullscreen) ChangeDisplaySettings(NULL, 0); #endif - if (_double_size) { + if (_wnd.double_size) { _cur_resolution[0] *= 2; _cur_resolution[1] *= 2; } |