From cb3ec720bdc0ac377912ab65ffb742061e7568ea Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Tue, 7 Jun 2005 20:10:16 +0000 Subject: [PATCH] Fix a cut & paste mistake. svn path=/trunk/; revision=15835 --- reactos/subsys/win32k/objects/text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/subsys/win32k/objects/text.c b/reactos/subsys/win32k/objects/text.c index 703e2da39cc..1e5d7053499 100644 --- a/reactos/subsys/win32k/objects/text.c +++ b/reactos/subsys/win32k/objects/text.c @@ -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));