Fix a cut & paste mistake.

svn path=/trunk/; revision=15835
This commit is contained in:
Filip Navara 2005-06-07 20:10:16 +00:00
parent 7aea00d1d6
commit cb3ec720bd

View file

@ -2577,7 +2577,7 @@ NtGdiGetTextFace(HDC hDC, INT Count, LPWSTR FaceName)
hFont = Dc->w.hFont;
DC_UnlockDc(Dc);
TextObj = TEXTOBJ_LockText(Dc->w.hFont);
TextObj = TEXTOBJ_LockText(hFont);
ASSERT(TextObj != NULL);
Count = min(Count, wcslen(TextObj->logfont.lfFaceName));
Status = MmCopyToCaller(FaceName, TextObj->logfont.lfFaceName, Count * sizeof(WCHAR));