summaryrefslogtreecommitdiff
path: root/lex.c
diff options
context:
space:
mode:
Diffstat (limited to 'lex.c')
-rw-r--r--lex.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lex.c b/lex.c
index 2a1ef0c..29b65c6 100644
--- a/lex.c
+++ b/lex.c
@@ -34,10 +34,6 @@ GetLine(DviWidget dw, char *Buffer, int Length)
while ((!p || i < Length) && DviGetC (dw, &c) != EOF && c != '\n')
if (p)
*p++ = c;
-#if 0
- if (c == '\n' && p) /* Retain the newline like fgets */
- *p++ = c;
-#endif
if (c == '\n')
DviUngetC(dw, c);
if (p)