Give the app back the exact font name it asked for.
This commit is contained in:
parent
df66b90f12
commit
7b5e33c6ac
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue