summaryrefslogtreecommitdiff
path: root/lib-src/make-docfile.c
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>1999-09-27 11:34:27 +0000
committerDave Love <fx@gnu.org>1999-09-27 11:34:27 +0000
commit7e6972e92c437bf98a74c36b34d0f43dde90ecf3 (patch)
tree5dbed7b058244e4a8836b934b70f935974234c95 /lib-src/make-docfile.c
parent6c57709828b1597b1bd7cfcc3c5e67ba26946f19 (diff)
downloademacs-7e6972e92c437bf98a74c36b34d0f43dde90ecf3.tar.gz
(scan_lisp_file): Fix typo causing infloop.
Diffstat (limited to 'lib-src/make-docfile.c')
-rw-r--r--lib-src/make-docfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c
index 849ff25397e..3045dc305f2 100644
--- a/lib-src/make-docfile.c
+++ b/lib-src/make-docfile.c
@@ -629,7 +629,7 @@ scan_lisp_file (filename, mode)
continue;
}
/* Skip the line break. */
- while (c == '\n' || c != '\r')
+ while (c == '\n' || c == '\r')
c = getc (infile);
/* Detect a dynamic doc string and save it for the next expression. */
if (c == '#')