From: msweet Date: Wed, 2 Mar 2016 20:24:10 +0000 (+0000) Subject: Fix hang bug when alternating text contains a quote. X-Git-Tag: v2.2b1~102 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7d89253a057da2a63282bb738cb26784aac2e28;p=thirdparty%2Fcups.git 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 --- diff --git a/man/mantohtml.c b/man/mantohtml.c index 553edc5115..e9a581af51 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);