summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-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 == '#')