GUI: Fix wrong error messages when failing to change some graphics settings
This commit is contained in:
parent
2cb0e45c63
commit
eef7d91fe1
1 changed files with 2 additions and 2 deletions
|
@ -433,13 +433,13 @@ void OptionsDialog::close() {
|
||||||
if (gfxError & OSystem::kTransactionAspectRatioFailed) {
|
if (gfxError & OSystem::kTransactionAspectRatioFailed) {
|
||||||
ConfMan.setBool("aspect_ratio", g_system->getFeatureState(OSystem::kFeatureAspectRatioCorrection), _domain);
|
ConfMan.setBool("aspect_ratio", g_system->getFeatureState(OSystem::kFeatureAspectRatioCorrection), _domain);
|
||||||
message += "\n";
|
message += "\n";
|
||||||
message += _("the fullscreen setting could not be changed");
|
message += _("the aspect ratio setting could not be changed");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (gfxError & OSystem::kTransactionFullscreenFailed) {
|
if (gfxError & OSystem::kTransactionFullscreenFailed) {
|
||||||
ConfMan.setBool("fullscreen", g_system->getFeatureState(OSystem::kFeatureFullscreenMode), _domain);
|
ConfMan.setBool("fullscreen", g_system->getFeatureState(OSystem::kFeatureFullscreenMode), _domain);
|
||||||
message += "\n";
|
message += "\n";
|
||||||
message += _("the aspect ratio setting could not be changed");
|
message += _("the fullscreen setting could not be changed");
|
||||||
}
|
}
|
||||||
|
|
||||||
// And display the error
|
// And display the error
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue