From 18379907e684280f6e70bf5c2205c2968e56fa67 Mon Sep 17 00:00:00 2001 From: Jason Self Date: Sat, 18 Apr 2020 12:53:53 -0700 Subject: [PATCH] Remove RELEASE_DATE --- src/errors.c | 15 ++++++--------- src/header.h | 1 - src/inform.c | 1 - 3 files changed, 6 insertions(+), 11 deletions(-) diff --git a/src/errors.c b/src/errors.c index b76aa7d..8a4d288 100644 --- a/src/errors.c +++ b/src/errors.c @@ -397,15 +397,12 @@ extern void link_error_named(char *s1, char *s2) extern void print_sorry_message(void) { printf( "***********************************************************************\n\ -* 'Compiler errors' should never occur if Inform is working properly. *\n\ -* This is version %d.%02d of Inform, dated %20s: so *\n\ -* if that was more than six months ago, there may be a more recent *\n\ -* version available, from which the problem may have been removed. *\n\ -* If not, please report this fault to: graham@gnelson.demon.co.uk *\n\ -* and if at all possible, please include your source code, as faults *\n\ -* such as these are rare and often difficult to reproduce. Sorry. *\n\ -***********************************************************************\n", - (RELEASE_NUMBER/100)%10, RELEASE_NUMBER%100, RELEASE_DATE); +Compiler errors should never occur if Inform is working properly.\n\ +Check to see if there is a more recent version available, from which\n\ +the problem may have been removed. If not, please report this fault\n\ +and if at all possible, please include your source code, as faults\n\ +such as these are rare and often difficult to reproduce. Sorry.\n\ +***********************************************************************\n"); } extern int compiler_error(char *s) diff --git a/src/header.h b/src/header.h index 3faa6a4..66c57cf 100644 --- a/src/header.h +++ b/src/header.h @@ -32,7 +32,6 @@ /* */ /* ------------------------------------------------------------------------- */ -#define RELEASE_DATE "28th June 2018" #define RELEASE_NUMBER 1634 #define GLULX_RELEASE_NUMBER 38 #define MODULE_VERSION_NUMBER 1 diff --git a/src/inform.c b/src/inform.c index 8888077..ac8db8e 100644 --- a/src/inform.c +++ b/src/inform.c @@ -1752,7 +1752,6 @@ static void banner(void) #ifdef MACHINE_STRING sprintf(banner_line+strlen(banner_line), " for %s", MACHINE_STRING); #endif - sprintf(banner_line+strlen(banner_line), " (%s)", RELEASE_DATE); printf("%s\n", banner_line); } -- 2.31.1