Commit 5af70f49 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

gdi32: TrueType fonts from the data directory should be added to the registry.

parent 62484719
......@@ -2112,7 +2112,7 @@ BOOL WineEngInit(void)
if (data_dir && (unixname = HeapAlloc(GetProcessHeap(), 0, strlen(data_dir) + sizeof("/fonts/")))) {
strcpy(unixname, data_dir);
strcat(unixname, "/fonts/");
ReadFontDir(unixname, FALSE);
ReadFontDir(unixname, TRUE);
HeapFree(GetProcessHeap(), 0, unixname);
}
......
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