xmllite: Don't fail if encoding declaration is missing.

This commit is contained in:
Dmitry Timoshkov 2014-02-11 16:50:30 +09:00 committed by Alexandre Julliard
parent 8ac05cf48e
commit 376eff51e0
1 changed files with 1 additions and 1 deletions

View File

@ -1096,7 +1096,7 @@ static HRESULT reader_parse_encdecl(xmlreader *reader)
strval name, val;
HRESULT hr;
if (!reader_skipspaces(reader)) return WC_E_WHITESPACE;
if (!reader_skipspaces(reader)) return S_FALSE;
if (reader_cmp(reader, encodingW)) return S_FALSE;
name.str = reader_get_ptr(reader);