aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/dialogs_error.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/xeen/dialogs_error.cpp')
-rw-r--r--engines/xeen/dialogs_error.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/dialogs_error.cpp b/engines/xeen/dialogs_error.cpp
index c0c072386d..e8512216c7 100644
--- a/engines/xeen/dialogs_error.cpp
+++ b/engines/xeen/dialogs_error.cpp
@@ -38,7 +38,7 @@ void ErrorScroll::execute(const Common::String &msg, ErrorWaitType waitType) {
EventsManager &events = *_vm->_events;
Window &w = screen._windows[6];
- Common::String s = Common::String::format("\x03c\v010\t000%s", msg);
+ Common::String s = Common::String::format("\x03c\v010\t000%s", msg.c_str());
w.open();
w.writeString(s);
w.update();