diff options
Diffstat (limited to 'engines/glk/glulxe/glulxe.cpp')
-rw-r--r-- | engines/glk/glulxe/glulxe.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/glk/glulxe/glulxe.cpp b/engines/glk/glulxe/glulxe.cpp index a78e22cea4..617bcb08c8 100644 --- a/engines/glk/glulxe/glulxe.cpp +++ b/engines/glk/glulxe/glulxe.cpp @@ -105,7 +105,7 @@ bool Glulxe::is_gamefile_valid() { } void Glulxe::fatal_error_handler(const char *str, const char *arg, bool useVal, int val) { - Common::String msg = "Glulxe fatal error: "; + Common::String msg = Common::String::format("Glulxe fatal error: %s", str); if (arg || useVal) { msg += " ("; @@ -124,7 +124,7 @@ void Glulxe::fatal_error_handler(const char *str, const char *arg, bool useVal, } void Glulxe::nonfatal_warning_handler(const char *str, const char *arg, bool useVal, int val) { - Common::String msg = "Glulxe warning: "; + Common::String msg = Common::String::format("Glulxe warning: %s", str); if (arg || useVal) { msg += " ("; |