diff options
author | Paul Gilbert | 2019-09-29 17:36:08 -0700 |
---|---|---|
committer | Paul Gilbert | 2019-09-29 17:36:16 -0700 |
commit | 72d690aa2c0442a7e7e5a946bc31eed644be230f (patch) | |
tree | 05cfab01ad94cb3aade5391aee6c3719b9be564e /engines/glk | |
parent | 16bce754d7d14497467b5e3d1ebaaf61718b054c (diff) | |
download | scummvm-rg350-72d690aa2c0442a7e7e5a946bc31eed644be230f.tar.gz scummvm-rg350-72d690aa2c0442a7e7e5a946bc31eed644be230f.tar.bz2 scummvm-rg350-72d690aa2c0442a7e7e5a946bc31eed644be230f.zip |
GLK: QUEST: Change throw to error call
Diffstat (limited to 'engines/glk')
-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) { |