troff: we are not htmlroff

If we don’t explicitly check for ‘h’ in troff, we can’t reliably check
for non-htmlroff well.

Consider the following:

	.if h \{\
	.	de M
	.		tm m
	..\}

Without this change, this will print m and not define macro M.
This commit is contained in:
Humm 2021-11-24 19:56:44 +00:00 committed by Sigrid Solveig Haflínudóttir
parent f0adfb4ded
commit 69249e8313

View file

@ -683,6 +683,7 @@ void caseif1(int x)
if (TROFF)
true++;
break;
case 'h':
case ' ':
break;
default: