Bugfix: -microsoft-symbol encoding was not recognized.
This commit is contained in:
parent
7af95ae105
commit
94632fcd68
|
@ -375,7 +375,7 @@ static int LFD_InitFontInfo( fontInfo* fi, LPSTR lpstr )
|
||||||
else /* ... and -microsoft-cp125x */
|
else /* ... and -microsoft-cp125x */
|
||||||
{
|
{
|
||||||
fi->df.dfCharSet = OEM_CHARSET;
|
fi->df.dfCharSet = OEM_CHARSET;
|
||||||
if( !strncasecmp(lpch, localMSEncoding, 6) )
|
if( !strncasecmp(lpch, localMSEncoding, strlen(localMSEncoding)) )
|
||||||
{
|
{
|
||||||
lpch = LFD_Advance( lpch, 1 );
|
lpch = LFD_Advance( lpch, 1 );
|
||||||
if( lpch && (i = atoi( lpch )) < numCPTranslation )
|
if( lpch && (i = atoi( lpch )) < numCPTranslation )
|
||||||
|
|
Loading…
Reference in New Issue