summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/cmd/htmlroff/t8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/htmlroff/t8.c b/sys/src/cmd/htmlroff/t8.c
index ead5a0200..b5b0a5c28 100644
--- a/sys/src/cmd/htmlroff/t8.c
+++ b/sys/src/cmd/htmlroff/t8.c
@@ -340,7 +340,7 @@ getname(void)
cc = getnext();
if(c < 0 || cc < 0)
return L("");
- if(c == '\n' | cc == '\n'){
+ if(c == '\n' || cc == '\n'){
warn("newline in \\n");
ungetnext(cc);
if(c == '\n')