Fix typo to map GetTextExtentPoint to the correct 32A version.

This commit is contained in:
Bertho Stultiens 1999-02-09 15:27:29 +00:00 committed by Alexandre Julliard
parent 69c0bbea1a
commit 4bd7128f09
1 changed files with 1 additions and 1 deletions

View File

@ -2132,7 +2132,7 @@ TREEVIEW_CreateDragImage (WND *wndPtr, WPARAM32 wParam, LPARAM lParam)
hdc=CreateCompatibleDC32 (htopdc);
hOldFont=SelectObject32 (hdc, infoPtr->hFont);
GetTextExtentPoint32 (hdc, itemtxt, lstrlen32A (itemtxt), &size);
GetTextExtentPoint32A (hdc, itemtxt, lstrlen32A (itemtxt), &size);
TRACE (treeview,"%d %d %s %d\n",size.cx,size.cy,itemtxt,lstrlen32A(itemtxt));
hbmp=CreateCompatibleBitmap32 (htopdc, size.cx, size.cy);
hOldbmp=SelectObject32 (hdc, hbmp);