Bugfix: -microsoft-symbol encoding was not recognized.

oldstable
Ulrich Weigand 1998-12-07 10:36:56 +00:00 committed by Alexandre Julliard
parent 7af95ae105
commit 94632fcd68
1 changed files with 1 additions and 1 deletions

View File

@ -375,7 +375,7 @@ static int LFD_InitFontInfo( fontInfo* fi, LPSTR lpstr )
else /* ... and -microsoft-cp125x */
{
fi->df.dfCharSet = OEM_CHARSET;
if( !strncasecmp(lpch, localMSEncoding, 6) )
if( !strncasecmp(lpch, localMSEncoding, strlen(localMSEncoding)) )
{
lpch = LFD_Advance( lpch, 1 );
if( lpch && (i = atoi( lpch )) < numCPTranslation )