X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fio.c;h=fa028f52933078a621d985bbbac65c2fa3cea186;hb=16a5bbd86d12644c1a613e61e990f76b16a567f0;hp=6c312bf2aed4729023ec36e73ecc2364b11bd579;hpb=29d86fb395ca01e4a4f65f02d67f5823a4ebba11;p=super-star-trek.git diff --git a/src/io.c b/src/io.c index 6c312bf..fa028f5 100644 --- a/src/io.c +++ b/src/io.c @@ -92,7 +92,7 @@ void waitfor(void) void announce(void) { skip(1); - prouts(_("[ANOUNCEMENT ARRIVING...]")); + prouts(_("[ANNOUNCEMENT ARRIVING...]")); skip(1); } @@ -209,12 +209,12 @@ void cgetline(char *line, int max) wrefresh(curwnd); } else { if (replayfp && !feof(replayfp)) - fgets(line, max, replayfp); + (void)fgets(line, max, replayfp); else - fgets(line, max, stdin); + (void)fgets(line, max, stdin); } if (logfp) - fputs(line, logfp); + (void)fputs(line, logfp); line[strlen(line)-1] = '\0'; } @@ -390,7 +390,7 @@ void warble(void) void tracktorpedo(coord w, int l, int i, int n, int iquad) /* torpedo-track animation */ { - if (!game.options & OPTION_CURSES) { + if (!(game.options & OPTION_CURSES)) { if (l == 1) { if (n != 1) { skip(1);