gdi32: Remove unneeded address-of operator from array name.

This commit is contained in:
Andrew Talbot 2008-07-10 23:08:49 +01:00 committed by Alexandre Julliard
parent 2865c727de
commit 613d17ae92

View File

@ -3049,7 +3049,7 @@ static void calc_hash(FONT_DESC *pfd)
hash ^= *ptr;
for(i = 0, ptr = (DWORD*)&pfd->lf; i < 7; i++, ptr++)
hash ^= *ptr;
for(i = 0, ptr = (DWORD*)&pfd->lf.lfFaceName; i < LF_FACESIZE/2; i++, ptr++) {
for(i = 0, ptr = (DWORD*)pfd->lf.lfFaceName; i < LF_FACESIZE/2; i++, ptr++) {
two_chars = *ptr;
pwc = (WCHAR *)&two_chars;
if(!*pwc) break;