gdiplus: Remove unneeded address-of operator from array name
Andrew Talbot
andrew.talbot at talbotville.com
Thu Jul 10 17:08:52 CDT 2008
Changelog:
gdiplus: Remove unneeded address-of operator from array name.
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;
More information about the wine-patches
mailing list