aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/glulxe/glulxe.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/glk/glulxe/glulxe.cpp')
-rw-r--r--engines/glk/glulxe/glulxe.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/glk/glulxe/glulxe.cpp b/engines/glk/glulxe/glulxe.cpp
index e2e1a477e5..aaa63b6141 100644
--- a/engines/glk/glulxe/glulxe.cpp
+++ b/engines/glk/glulxe/glulxe.cpp
@@ -52,23 +52,23 @@ Common::Error Glulxe::saveGameData(strid_t file, const Common::String &desc) {
bool Glulxe::is_gamefile_valid() {
if (_gameFile->size() < 8) {
- GUIError(_("This is too short to be a valid Glulx file."));
+ GUIErrorMessage(_("This is too short to be a valid Glulx file."));
return false;
}
if (_gameFile->readUint32BE() != MKTAG('G', 'l', 'u', 'l')) {
- GUIError(_("This is not a valid Glulx file."));
+ GUIErrorMessage(_("This is not a valid Glulx file."));
return false;
}
// We support version 2.0 through 3.1.*
uint version = _gameFile->readUint32BE();
if (version < 0x20000) {
- GUIError(_("This Glulx file is too old a version to execute."));
+ GUIErrorMessage(_("This Glulx file is too old a version to execute."));
return false;
}
if (version >= 0x30200) {
- GUIError(_("This Glulx file is too new a version to execute."));
+ GUIErrorMessage(_("This Glulx file is too new a version to execute."));
return false;
}