Fixed 4:3 Ratio checkbox not being enabled/disabled in the GUI correctly, depending on configuration

This commit is contained in:
Dimitris Panokostas 2017-12-22 12:22:16 +01:00
parent cd56f69f80
commit 98887f2665

View file

@ -180,7 +180,7 @@ void InitPanelDisplay(const struct _ConfigCategory& category)
#endif //PANDORA
#ifdef USE_SDL1
lblFSRatio = new gcn::Label("Fullscreen Ratio:");
lblFSRatio = new gcn::Label("Ratio:");
lblFSRatio->setAlignment(gcn::Graphics::RIGHT);
sldFSRatio = new gcn::Slider(0, 20);
sldFSRatio->setSize(160, SLIDER_HEIGHT);
@ -349,6 +349,7 @@ void RefreshPanelDisplay()
break;
}
}
chkAspect->setSelected(changed_prefs.gfx_correct_aspect);
#endif
#ifdef USE_SDL2