Case correction.
[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 {
-               IGNORE(fgets(rawbuf,sizeof(INLINE)-1,OPENED));
+               IGNORE(fgets(rawbuf,sizeof(rawbuf)-1,OPENED));
        } while
-               (!feof(OPENED) && INLINE[1] == '#');
+               (!feof(OPENED) && rawbuf[0] == '#');
        if (feof(OPENED)) {
                if (logfp && OPENED == stdin)
                        fclose(logfp);