[Scummvm-cvs-logs] SF.net SVN: scummvm:[50640] scummvm/trunk/gui/saveload.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Sun Jul 4 03:11:37 CEST 2010
Revision: 50640
http://scummvm.svn.sourceforge.net/scummvm/?rev=50640&view=rev
Author: lordhoto
Date: 2010-07-04 01:11:37 +0000 (Sun, 04 Jul 2010)
Log Message:
-----------
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.
Modified Paths:
--------------
scummvm/trunk/gui/saveload.cpp
Modified: scummvm/trunk/gui/saveload.cpp
===================================================================
--- scummvm/trunk/gui/saveload.cpp 2010-07-04 01:11:18 UTC (rev 50639)
+++ scummvm/trunk/gui/saveload.cpp 2010-07-04 01:11:37 UTC (rev 50640)
@@ -182,7 +182,7 @@
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;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list