xmllite: Improve attribute value parsing

Alexandre Julliard julliard at winehq.org
Fri Aug 2 09:43:45 CDT 2013


Nikolay Sivov <nsivov at codeweavers.com> writes:

> +static void reader_normalize_space(xmlreader *reader, WCHAR *ptr)
> +{
> +    encoded_buffer *buffer = &reader->input->buffer->utf16;
> +
> +    if (!is_wchar_space(*ptr)) return;
> +
> +    if (*ptr == '\r' && *ptr == '\n')

That's not going to happen very often...

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list