mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 22:20:26 +00:00
msxml3: Spelling fixes.
Signed-off-by: Francois Gouget <fgouget@free.fr> Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
39037a14e8
commit
c7292a5816
@ -2522,7 +2522,7 @@ static HRESULT internal_parseBuffer(saxreader *This, const char *buffer, int siz
|
|||||||
if (encoding == XML_CHAR_ENCODING_NONE)
|
if (encoding == XML_CHAR_ENCODING_NONE)
|
||||||
{
|
{
|
||||||
const WCHAR *ptr = (WCHAR*)buffer;
|
const WCHAR *ptr = (WCHAR*)buffer;
|
||||||
/* xml declaration with possibly specified encoding will be still handled by parser */
|
/* an xml declaration with optional encoding will still be handled by the parser */
|
||||||
if ((size >= 2) && *ptr == '<' && ptr[1] != '?')
|
if ((size >= 2) && *ptr == '<' && ptr[1] != '?')
|
||||||
{
|
{
|
||||||
enc_name = (xmlChar*)xmlGetCharEncodingName(XML_CHAR_ENCODING_UTF16LE);
|
enc_name = (xmlChar*)xmlGetCharEncodingName(XML_CHAR_ENCODING_UTF16LE);
|
||||||
|
Loading…
Reference in New Issue
Block a user