Skip to content

Commit

Permalink
GLK: ALAN3: Minor errors cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Jul 6, 2019
1 parent 1183dc6 commit 3e9d215
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions engines/glk/alan3/syserr.cpp
Expand Up @@ -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);
}


Expand All @@ -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, \
Expand All @@ -78,7 +76,6 @@ it to support@alanif.se. Thank you!>";
runtimeError("SYSTEM ERROR: ", description, blurb);
} else
handler(description);
#endif
}


Expand Down

0 comments on commit 3e9d215

Please sign in to comment.