Andrew Talbot : gdiplus: Remove unneeded address-of operator from array name.
Module: wine Branch: master Commit: dbc57826d6be8b239a5c6e4e2637aea8b6d0f0ba URL: http://source.winehq.org/git/wine.git/?a=commit;h=dbc57826d6be8b239a5c6e4e26... Author: Andrew Talbot <andrew.talbot(a)talbotville.com> Date: Thu Jul 10 23:08:52 2008 +0100 gdiplus: Remove unneeded address-of operator from array name. --- dlls/gdiplus/font.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/gdiplus/font.c b/dlls/gdiplus/font.c index e985f29..3526b2e 100644 --- a/dlls/gdiplus/font.c +++ b/dlls/gdiplus/font.c @@ -169,7 +169,7 @@ GpStatus WINGDIPAPI GdipCreateFontFromLogfontW(HDC hdc, *font = GdipAlloc(sizeof(GpFont)); if(!*font) return OutOfMemory; - memcpy(&(*font)->lfw.lfFaceName, logfont->lfFaceName, LF_FACESIZE * + memcpy((*font)->lfw.lfFaceName, logfont->lfFaceName, LF_FACESIZE * sizeof(WCHAR)); (*font)->lfw.lfHeight = logfont->lfHeight; (*font)->lfw.lfItalic = logfont->lfItalic;
participants (1)
-
Alexandre Julliard