htmlroff: fix wrong newline in \name handling (| -> ||)
This commit is contained in:
parent
453ca8db43
commit
7f4b037b0b
1 changed files with 1 additions and 1 deletions
|
@ -340,7 +340,7 @@ getname(void)
|
||||||
cc = getnext();
|
cc = getnext();
|
||||||
if(c < 0 || cc < 0)
|
if(c < 0 || cc < 0)
|
||||||
return L("");
|
return L("");
|
||||||
if(c == '\n' | cc == '\n'){
|
if(c == '\n' || cc == '\n'){
|
||||||
warn("newline in \\n");
|
warn("newline in \\n");
|
||||||
ungetnext(cc);
|
ungetnext(cc);
|
||||||
if(c == '\n')
|
if(c == '\n')
|
||||||
|
|
Loading…
Reference in a new issue