win32 bits
This commit is contained in:
+1
-1
@@ -133,7 +133,7 @@ getlock()
|
|||||||
"\nThere are files from a game in progress under your name.");
|
"\nThere are files from a game in progress under your name.");
|
||||||
Strcat(oops, "\nThe files are locked or inaccessible.");
|
Strcat(oops, "\nThe files are locked or inaccessible.");
|
||||||
Strcat(oops, " Is the other game still running?\n");
|
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);
|
Sprintf(eos(oops), "Cannot open %s", fq_lock);
|
||||||
unlock_file(HLOCK);
|
unlock_file(HLOCK);
|
||||||
error(oops);
|
error(oops);
|
||||||
|
|||||||
@@ -91,6 +91,7 @@ void mswin_display_splash_window (BOOL show_ver)
|
|||||||
/* Show news, if any */
|
/* Show news, if any */
|
||||||
FILE *nf;
|
FILE *nf;
|
||||||
|
|
||||||
|
iflags.news = 0; /* prevent newgame() from re-displaying news */
|
||||||
nf = fopen(NEWS, "r");
|
nf = fopen(NEWS, "r");
|
||||||
if (nf != NULL) {
|
if (nf != NULL) {
|
||||||
char *buf = NULL;
|
char *buf = NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user