https://bugs.winehq.org/show_bug.cgi?id=38221
Bug ID: 38221 Summary: Wrong parameter assignment in get_family_names_from_stream() Product: Wine Version: 1.7.38 Hardware: x86 OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: dwrite Assignee: wine-bugs@winehq.org Reporter: isakov-sl@bk.ru
File /dll/dwrite/font.c: line 786 In function HRESULT get_family_names_from_stream(IDWriteFontFileStream *stream, UINT32 index, DWRITE_FONT_FACE_TYPE facetype, IDWriteLocalizedStrings **names)
there is an assignment names=NULL; There is no sense to assign a value to function parameter. I think there should be
~~~~ *names = NULL; ~~~~