summaryrefslogtreecommitdiff
path: root/sys/src/cmd
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2015-06-13 20:58:56 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2015-06-13 20:58:56 +0200
commit7f4b037b0b21df9d96d9b3f53a9779590d5c600b (patch)
treed817a8f86a4a73e7e03b7d3bb19737d2baf343f9 /sys/src/cmd
parent453ca8db4337f4f59c3c5b4356d5f70aa9b32260 (diff)
htmlroff: fix wrong newline in \name handling (| -> ||)
Diffstat (limited to 'sys/src/cmd')
-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')