Give the app back the exact font name it asked for.

This commit is contained in:
Bradley Baetz 1999-11-28 20:16:37 +00:00 committed by Alexandre Julliard
parent df66b90f12
commit 7b5e33c6ac
1 changed files with 2 additions and 0 deletions

View File

@ -1786,6 +1786,8 @@ static fontResource* XFONT_FindFIList( fontResource* pfr, const char* pTypeFace
if( !strcasecmp( pfr->lfFaceName, pTypeFace ) ) break;
pfr = pfr->next;
}
/* Give the app back the font name it asked for. Encarta checks this. */
if (pfr) strcpy(pfr->lfFaceName,pTypeFace);
return pfr;
}