From 336cde4b61df758dd438c9633863d50f5442037c Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sun, 4 Jul 2010 01:11:37 +0000 Subject: [PATCH] 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 --- gui/saveload.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/saveload.cpp b/gui/saveload.cpp index cef7269b95f..92cea00f306 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;