diff options
Diffstat (limited to 'engines/glk/alan3/syserr.cpp')
-rw-r--r-- | engines/glk/alan3/syserr.cpp | 5 |
1 files changed, 1 insertions, 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 = "<If you are the creator of this piece of Interactive Fiction, \ @@ -78,7 +76,6 @@ it to support@alanif.se. Thank you!>"; runtimeError("SYSTEM ERROR: ", description, blurb); } else handler(description); -#endif } |