diff options
author | Paul Gilbert | 2019-07-02 20:05:06 -0700 |
---|---|---|
committer | Paul Gilbert | 2019-07-06 15:27:09 -0700 |
commit | 3e9d215dd821c0f337cc6f527c2d16fdb10cbd8c (patch) | |
tree | d8315fafe96c4fe23d89d115dc84f69548ec1dae /engines/glk/alan3 | |
parent | 1183dc65bb4cc50e6e1fa79cbf461c6763d46265 (diff) | |
download | scummvm-rg350-3e9d215dd821c0f337cc6f527c2d16fdb10cbd8c.tar.gz scummvm-rg350-3e9d215dd821c0f337cc6f527c2d16fdb10cbd8c.tar.bz2 scummvm-rg350-3e9d215dd821c0f337cc6f527c2d16fdb10cbd8c.zip |
GLK: ALAN3: Minor errors cleanup
Diffstat (limited to 'engines/glk/alan3')
-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 } |