]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix hang bug when alternating text contains a quote.
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Wed, 2 Mar 2016 20:24:10 +0000 (20:24 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Wed, 2 Mar 2016 20:24:10 +0000 (20:24 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@13115 a1ca3aef-8c08-0410-bb20-df032aa958be

man/mantohtml.c

index 553edc5115aafb8cff7771989f2581205de8eacc..e9a581af516d75293d49de2698efe53b50c52872 100644 (file)
@@ -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);