ref: 7f4b037b0b21df9d96d9b3f53a9779590d5c600b
parent: 453ca8db4337f4f59c3c5b4356d5f70aa9b32260
author: cinap_lenrek <[email protected]>
date: Sat Jun 13 16:58:56 EDT 2015
htmlroff: fix wrong newline in \name handling (| -> ||)
--- a/sys/src/cmd/htmlroff/t8.c
+++ b/sys/src/cmd/htmlroff/t8.c
@@ -340,7 +340,7 @@
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')