mirror of
https://github.com/reactos/reactos.git
synced 2025-05-07 18:56:48 +00:00
[WIN32SS][FONT] Move IntUnLockFreeType(); in ftGdiGetTextMetricsW (#1002)
Adjust timing of FreeType unlocking in ftGdiGetTextMetricsW function of "freetype.c". JIRA issue: N/A
This commit is contained in:
parent
ce077bb5d3
commit
5d26cf5e2a
1 changed files with 2 additions and 2 deletions
|
@ -4326,8 +4326,6 @@ ftGdiGetTextMetricsW(
|
|||
|
||||
Error = FT_Get_WinFNT_Header(Face, &Win);
|
||||
|
||||
IntUnLockFreeType();
|
||||
|
||||
if (NT_SUCCESS(Status))
|
||||
{
|
||||
FillTM(&ptmwi->TextMetric, FontGDI, pOS2, pHori, !Error ? &Win : 0);
|
||||
|
@ -4335,6 +4333,8 @@ ftGdiGetTextMetricsW(
|
|||
/* FIXME: Fill Diff member */
|
||||
RtlZeroMemory(&ptmwi->Diff, sizeof(ptmwi->Diff));
|
||||
}
|
||||
|
||||
IntUnLockFreeType();
|
||||
}
|
||||
TEXTOBJ_UnlockText(TextObj);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue