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:
parent
e98cdc3215
commit
0925006822
|
@ -1586,8 +1586,10 @@ static HRESULT opentype_get_font_strings_from_id(const void *table_data, enum OP
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(exists = opentype_decode_namerecord(header, storage_area, i, *strings)))
|
if (!opentype_decode_namerecord(header, storage_area, i, *strings))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
exists = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!exists) {
|
if (!exists) {
|
||||||
|
|
Loading…
Reference in New Issue