mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00:00
Signed-off-by: Doug Lyons <douglyons@douglyons.com> CORE-15333
This commit is contained in:
parent
0d4591c672
commit
64e217e97c
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue