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 | 61a00c99b4fa014b9f1225cf4268585c18e25cbe (patch) | |
tree | e23571062559350799e6cbc2abfd8a1d772d6c1f /src | |
parent | aa9bd2e02831c1fab52d2e33fdcf6e701f687b93 (diff) | |
download | openttd-61a00c99b4fa014b9f1225cf4268585c18e25cbe.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.
Diffstat (limited to 'src')
-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; } |