fixed: crash on switching from windowed to fullscreen with the spinner
authorbobo1on1 <bobo1on1@svn>
Thu, 30 Sep 2010 15:29:24 +0000 (15:29 +0000)
committerbobo1on1 <bobo1on1@svn>
Thu, 30 Sep 2010 15:29:24 +0000 (15:29 +0000)
(cherry picked from commit 489d39aad51aa34db92b87888cd8fe346b5dd8d3)

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/Dharma@34335 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

xbmc/GUIWindowSettingsCategory.cpp

index d482cd8..b27d66f 100644 (file)
@@ -1449,7 +1449,7 @@ void CGUIWindowSettingsCategory::OnSettingChanged(CBaseSettingControl *pSettingC
   {
     DisplayMode mode = g_guiSettings.GetInt("videoscreen.screen");
     // Cascade
-    FillInResolutions("videoscreen.resolution", mode, RES_INVALID, true);
+    FillInResolutions("videoscreen.resolution", mode, RES_DESKTOP, true);
   }
   else if (strSetting.Equals("videoscreen.resolution"))
   {