From 3e9d215dd821c0f337cc6f527c2d16fdb10cbd8c Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 2 Jul 2019 20:05:06 -0700 Subject: GLK: ALAN3: Minor errors cleanup --- engines/glk/alan3/syserr.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/engines/glk/alan3/syserr.cpp b/engines/glk/alan3/syserr.cpp index 8a0dad5f39..6ed6d0b95d 100644 --- a/engines/glk/alan3/syserr.cpp +++ b/engines/glk/alan3/syserr.cpp @@ -54,7 +54,7 @@ of an Adventure that never was.$n$n"); } static void runtimeError(const char *errorClassification, const char *errorDescription, const char *blurb) { - ::error("%s %s %s", errorClassification, errorDescription, blurb); + ::error("%s%s %s", errorClassification, errorDescription, blurb); } @@ -67,8 +67,6 @@ void setSyserrHandler(void (*f)(const char *)) { /*======================================================================*/ // TODO Make syserr() use ... as printf() void syserr(const char *description) { - ::error("%s", description); -#if 0 lin = 0; if (handler == NULL) { const char *blurb = ""; runtimeError("SYSTEM ERROR: ", description, blurb); } else handler(description); -#endif } -- cgit v1.2.3