summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2016-03-02 20:24:10 +0000
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2016-03-02 20:24:10 +0000
commitc7d89253a057da2a63282bb738cb26784aac2e28 (patch)
tree1d58af5f71459770aee16416c1568745f3eb63ca /man
parent4ce95109669f9c8572b41d05cdd228f3756a7ebb (diff)
downloadcups-c7d89253a057da2a63282bb738cb26784aac2e28.tar.gz
Fix hang bug when alternating text contains a quote.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@13115 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'man')
-rw-r--r--man/mantohtml.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/man/mantohtml.c b/man/mantohtml.c
index 553edc511..e9a581af5 100644
--- a/man/mantohtml.c
+++ b/man/mantohtml.c
@@ -974,7 +974,8 @@ html_alternate(const char *s, /* I - String */
{
if (*s == '\"')
quote = !quote;
- else if (*s == '\\' && s[1])
+
+ if (*s == '\\' && s[1])
{
s ++;
html_putc(*s++, fp);