GTK: Fixed bug #3201910

This commit is contained in:
bgk 2011-03-12 08:51:23 +00:00
parent 79ff9a8d3f
commit 432e8b627f
1 changed files with 2 additions and 1 deletions

View File

@ -926,7 +926,8 @@ void Window::vApplyPerGameConfig()
if (oKeyFile.has_key(csGameID, "flashSize"))
{
int iFlashSize = oKeyFile.get_integer(csGameID, "flashSize");
Glib::ustring sFlashSize = oKeyFile.get_string(csGameID, "flashSize");
int iFlashSize = atoi(sFlashSize.c_str());
if (iFlashSize == 0x10000 || iFlashSize == 0x20000)
flashSetSize(iFlashSize);
}