projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Flush log on interrupt, just for convenience.
[open-adventure.git]
/
misc.c
diff --git
a/misc.c
b/misc.c
index 8ea3db40c6cde454344abef1f86fa9b338f1530c..a656cbc24e22823699ec9c2a132942f9a0a03626 100644
(file)
--- a/
misc.c
+++ b/
misc.c
@@
-888,9
+888,9
@@
long I, VAL;
if (!oldstyle && SETUP && OPENED == stdin)
fputs("> ", stdout);
do {
if (!oldstyle && SETUP && OPENED == stdin)
fputs("> ", stdout);
do {
- IGNORE(fgets(rawbuf,sizeof(
INLINE
)-1,OPENED));
+ IGNORE(fgets(rawbuf,sizeof(
rawbuf
)-1,OPENED));
} while
} while
- (!feof(OPENED) &&
INLINE[1
] == '#');
+ (!feof(OPENED) &&
rawbuf[0
] == '#');
if (feof(OPENED)) {
if (logfp && OPENED == stdin)
fclose(logfp);
if (feof(OPENED)) {
if (logfp && OPENED == stdin)
fclose(logfp);