From 6af2accd9267d9976868542353cace796f6bb35f Mon Sep 17 00:00:00 2001 From: pouillot Date: Sat, 12 Mar 2011 19:37:03 +0000 Subject: [PATCH] Fixed #362 (Crazy screen resolutions) Was a silly mistake, a if block without surrounding { and } git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3443 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: b74e327b6e7af14a0f37111bf7cb1c6963e7c168 Former-commit-id: f610cef26a47362b6290698409eb4718e9f322ee --- .../userinterface/legacymenu/confscreens/displayconfig.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/userinterface/legacymenu/confscreens/displayconfig.cpp b/src/modules/userinterface/legacymenu/confscreens/displayconfig.cpp index 4109697ed..5eb6e6306 100755 --- a/src/modules/userinterface/legacymenu/confscreens/displayconfig.cpp +++ b/src/modules/userinterface/legacymenu/confscreens/displayconfig.cpp @@ -314,8 +314,10 @@ void DisplayMenu::resetScreenSizes() _aScreenSizes = GfScrGetSupportedSizes(_nColorDepth, _eDisplayMode == eFullScreen, &_nNbScreenSizes); if (_eVideoDetectMode == eManual || _aScreenSizes == (tScreenSize*)-1 || _aScreenSizes == 0) + { _aScreenSizes = aDefScreenSizes; _nNbScreenSizes = nDefScreenSizes; + } // Update combo-box with new possible sizes. const int nComboId = GetDynamicControlId("ScreenSizeCombo");