win32 bits

This commit is contained in:
nethack.allison
2003-02-15 22:46:10 +00:00
parent 4cbcc056c3
commit a1a296aa8d
2 changed files with 2 additions and 1 deletions

View File

@@ -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);