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:
Francois Gouget 2016-05-29 12:41:57 +02:00 committed by Alexandre Julliard
parent 39037a14e8
commit c7292a5816
1 changed files with 1 additions and 1 deletions

View File

@ -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);