[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: hhctrl.ocx: Parse HTML entities in the table of contents.
From: Alexandre Julliard <julliard () winehq ! org>
Date: 2007-05-30 12:41:55
Message-ID: 874pluwkj0.fsf () wine ! dyndns ! org
[Download RAW message or body]
Robert Shearman <rob@codeweavers.com> writes:
> + p++;
> + if ((*p == 'X') || (*p == 'x'))
> + {
> + /* hexadecimal entity */
> + while ((*p >= '0' && *p <= '9') || (*p >= 'a' && *p <= 'f') ||
> + (*p >= 'A' && *p <= 'F'))
> + p++;
> + ch = strtolW(start + 2, NULL, 16);
> + }
This is still broken.
> + if (p - start - 1 <= sizeof(char_refs[0].name))
> + {
> + for (i = 0; i < sizeof(char_refs)/sizeof(char_refs[0]); i++)
> + if (!strncmpW(char_refs[i].name, start + 1, p - start - 1))
> + break;
> + }
This is still broken too.
--
Alexandre Julliard
julliard@winehq.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic