From: nethack.allison Date: Sat, 15 Feb 2003 22:46:10 +0000 (+0000) Subject: win32 bits X-Git-Tag: MOVE2GIT~2171 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a1a296aa8d07b064c42673a34f0c1e7f40e2c1cd;p=nethack win32 bits --- diff --git a/sys/share/pcunix.c b/sys/share/pcunix.c index 7cd6b5853..f507b3a4a 100644 --- a/sys/share/pcunix.c +++ b/sys/share/pcunix.c @@ -133,7 +133,7 @@ getlock() "\nThere are files from a game in progress under your name."); Strcat(oops, "\nThe files are locked or inaccessible."); Strcat(oops, " Is the other game still running?\n"); - if (strlen(fq_lock) < ((OOPS_BUFSZ - 1) - strlen(oops))) + if (strlen(fq_lock) < ((OOPS_BUFSZ -16) - strlen(oops))) Sprintf(eos(oops), "Cannot open %s", fq_lock); unlock_file(HLOCK); error(oops); diff --git a/win/win32/mhsplash.c b/win/win32/mhsplash.c index 8fb2075cd..96760dd74 100644 --- a/win/win32/mhsplash.c +++ b/win/win32/mhsplash.c @@ -91,6 +91,7 @@ void mswin_display_splash_window (BOOL show_ver) /* Show news, if any */ FILE *nf; + iflags.news = 0; /* prevent newgame() from re-displaying news */ nf = fopen(NEWS, "r"); if (nf != NULL) { char *buf = NULL;