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

This commit is contained in:
Huw Davies 2007-10-02 14:30:04 +01:00 committed by Alexandre Julliard
parent 6248471933
commit 5af70f49c6
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}