Andrew Talbot : gdiplus: Remove unneeded address-of operator from array name.
Alexandre Julliard
julliard at winehq.org
Fri Jul 11 08:44:06 CDT 2008
Module: wine
Branch: master
Commit: dbc57826d6be8b239a5c6e4e2637aea8b6d0f0ba
URL: http://source.winehq.org/git/wine.git/?a=commit;h=dbc57826d6be8b239a5c6e4e2637aea8b6d0f0ba
Author: Andrew Talbot <andrew.talbot at 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;
More information about the wine-cvs
mailing list