aboutsummaryrefslogtreecommitdiff
path: root/gui/saveload.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2010-07-04 01:11:37 +0000
committerJohannes Schickel2010-07-04 01:11:37 +0000
commit336cde4b61df758dd438c9633863d50f5442037c (patch)
tree53d35b85e6dba79673a9394554f9b8ec9b04cd71 /gui/saveload.cpp
parentacecfcaf6906f6640d8418c14a3aa2c8833f76e3 (diff)
downloadscummvm-rg350-336cde4b61df758dd438c9633863d50f5442037c.tar.gz
scummvm-rg350-336cde4b61df758dd438c9633863d50f5442037c.tar.bz2
scummvm-rg350-336cde4b61df758dd438c9633863d50f5442037c.zip
Always use kThumbnailHeight2 (i.e. 120) for the height of the thumbnail widget.
This fixes the thumbnails for games with resolutions != n*200 in the launcher. svn-id: r50640
Diffstat (limited to 'gui/saveload.cpp')
-rw-r--r--gui/saveload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/saveload.cpp b/gui/saveload.cpp
index cef7269b95..92cea00f30 100644
--- a/gui/saveload.cpp
+++ b/gui/saveload.cpp
@@ -182,7 +182,7 @@ void SaveLoadChooser::reflowLayout() {
error("Error when loading position data for Save/Load Thumbnails.");
int thumbW = kThumbnailWidth;
- int thumbH = ((g_system->getHeight() % 200 && g_system->getHeight() != 350) ? kThumbnailHeight2 : kThumbnailHeight1);
+ int thumbH = kThumbnailHeight2;
int thumbX = x + (w >> 1) - (thumbW >> 1);
int thumbY = y + kLineHeight;