forked from Mirrors/wine-wine
gdi32: TrueType fonts from the data directory should be added to the registry.
parent
6248471933
commit
5af70f49c6
|
@ -2112,7 +2112,7 @@ BOOL WineEngInit(void)
|
||||||
if (data_dir && (unixname = HeapAlloc(GetProcessHeap(), 0, strlen(data_dir) + sizeof("/fonts/")))) {
|
if (data_dir && (unixname = HeapAlloc(GetProcessHeap(), 0, strlen(data_dir) + sizeof("/fonts/")))) {
|
||||||
strcpy(unixname, data_dir);
|
strcpy(unixname, data_dir);
|
||||||
strcat(unixname, "/fonts/");
|
strcat(unixname, "/fonts/");
|
||||||
ReadFontDir(unixname, FALSE);
|
ReadFontDir(unixname, TRUE);
|
||||||
HeapFree(GetProcessHeap(), 0, unixname);
|
HeapFree(GetProcessHeap(), 0, unixname);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue