diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/glk/quest/read_file.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/glk/quest/read_file.cpp b/engines/glk/quest/read_file.cpp index 766b8b5013..af6cc9d496 100644 --- a/engines/glk/quest/read_file.cpp +++ b/engines/glk/quest/read_file.cpp @@ -26,6 +26,7 @@ #include "glk/quest/geas_runner.h" #include "glk/quest/streams.h" #include "common/util.h" +#include "common/textconsole.h" namespace Glk { namespace Quest { @@ -547,9 +548,7 @@ String string_int(int i) { } void report_error(String s) { - //cerr << s << endl; - cerr << s << endl; - throw s; + error("%s", s.c_str()); } Common::Array<String> split_lines(String data) { |