GUI: Fix wrong error messages when failing to change some graphics settings

This commit is contained in:
Thierry Crozat 2016-10-12 19:59:00 +01:00
parent 2cb0e45c63
commit eef7d91fe1

View file

@ -433,13 +433,13 @@ void OptionsDialog::close() {
if (gfxError & OSystem::kTransactionAspectRatioFailed) {
ConfMan.setBool("aspect_ratio", g_system->getFeatureState(OSystem::kFeatureAspectRatioCorrection), _domain);
message += "\n";
message += _("the fullscreen setting could not be changed");
message += _("the aspect ratio setting could not be changed");
}
if (gfxError & OSystem::kTransactionFullscreenFailed) {
ConfMan.setBool("fullscreen", g_system->getFeatureState(OSystem::kFeatureFullscreenMode), _domain);
message += "\n";
message += _("the aspect ratio setting could not be changed");
message += _("the fullscreen setting could not be changed");
}
// And display the error