Fix a cut & paste mistake.
Modified: trunk/reactos/subsys/win32k/objects/text.c
--- trunk/reactos/subsys/win32k/objects/text.c 2005-06-07 20:02:22 UTC (rev 15834) +++ trunk/reactos/subsys/win32k/objects/text.c 2005-06-07 20:10:16 UTC (rev 15835) @@ -2577,7 +2577,7 @@
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));