Commit 773c20ff authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

gdi32: Fix NT prefix handling in update_external_font_keys.

parent f95fe051
......@@ -6019,7 +6019,7 @@ static void update_external_font_keys(void)
path = (WCHAR *)(buffer + info->DataOffset);
if (path[0] && path[1] == ':')
{
memmove( path, path + ARRAYSIZE(nt_prefixW), sizeof(nt_prefixW) );
memmove( path + ARRAYSIZE(nt_prefixW), path, info->DataLength );
memcpy( path, nt_prefixW, sizeof(nt_prefixW) );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment