Commit 7b5e33c6 authored by Bradley Baetz's avatar Bradley Baetz Committed by Alexandre Julliard

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

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