mirror of
https://github.com/reactos/reactos.git
synced 2026-06-02 17:31:23 +08:00
Signed-off-by: Doug Lyons <douglyons@douglyons.com> CORE-15333
This commit is contained in:
committed by
GitHub
parent
0d4591c672
commit
64e217e97c
@@ -1053,7 +1053,8 @@ IntGdiLoadFontsFromMemory(PGDI_LOAD_FONT pLoadFont,
|
||||
return 0; /* failure */
|
||||
}
|
||||
|
||||
IntUnicodeStringToBuffer(FontGDI->Filename, sizeof(FontGDI->Filename), pFileName);
|
||||
RtlCopyMemory(FontGDI->Filename, pFileName->Buffer, pFileName->Length);
|
||||
FontGDI->Filename[pFileName->Length / sizeof(WCHAR)] = UNICODE_NULL;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user