dwrite: Don't fail in opentype_get_font_strings_from_id if any of font strings got decoded.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Piotr Caban 2017-04-27 17:19:49 +02:00 committed by Alexandre Julliard
parent e98cdc3215
commit 0925006822
1 changed files with 3 additions and 1 deletions

View File

@ -1586,8 +1586,10 @@ static HRESULT opentype_get_font_strings_from_id(const void *table_data, enum OP
continue;
}
if (!(exists = opentype_decode_namerecord(header, storage_area, i, *strings)))
if (!opentype_decode_namerecord(header, storage_area, i, *strings))
continue;
exists = TRUE;
}
if (!exists) {