[Bug 38221] New: Wrong parameter assignment in get_family_names_from_stream()
wine-bugs at winehq.org
wine-bugs at winehq.org
Fri Mar 13 04:44:23 CDT 2015
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 at winehq.org
Reporter: isakov-sl at 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;
~~~~
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list