mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Fix a cut & paste mistake.
svn path=/trunk/; revision=15835
This commit is contained in:
parent
7aea00d1d6
commit
cb3ec720bd
1 changed files with 1 additions and 1 deletions
|
@ -2577,7 +2577,7 @@ NtGdiGetTextFace(HDC hDC, INT Count, LPWSTR FaceName)
|
||||||
hFont = Dc->w.hFont;
|
hFont = Dc->w.hFont;
|
||||||
DC_UnlockDc(Dc);
|
DC_UnlockDc(Dc);
|
||||||
|
|
||||||
TextObj = TEXTOBJ_LockText(Dc->w.hFont);
|
TextObj = TEXTOBJ_LockText(hFont);
|
||||||
ASSERT(TextObj != NULL);
|
ASSERT(TextObj != NULL);
|
||||||
Count = min(Count, wcslen(TextObj->logfont.lfFaceName));
|
Count = min(Count, wcslen(TextObj->logfont.lfFaceName));
|
||||||
Status = MmCopyToCaller(FaceName, TextObj->logfont.lfFaceName, Count * sizeof(WCHAR));
|
Status = MmCopyToCaller(FaceName, TextObj->logfont.lfFaceName, Count * sizeof(WCHAR));
|
||||||
|
|
Loading…
Reference in a new issue