[Scummvm-git-logs] scummvm master -> 72d690aa2c0442a7e7e5a946bc31eed644be230f

dreammaster paulfgilbert at gmail.com
Mon Sep 30 02:36:33 CEST 2019


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
72d690aa2c GLK: QUEST: Change throw to error call


Commit: 72d690aa2c0442a7e7e5a946bc31eed644be230f
    https://github.com/scummvm/scummvm/commit/72d690aa2c0442a7e7e5a946bc31eed644be230f
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2019-09-29T17:36:16-07:00

Commit Message:
GLK: QUEST: Change throw to error call

Changed paths:
    engines/glk/quest/read_file.cpp


diff --git a/engines/glk/quest/read_file.cpp b/engines/glk/quest/read_file.cpp
index 766b8b5..af6cc9d 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) {





More information about the Scummvm-git-logs mailing list