commit | 94632fcd68f71f5b5e2f8e867742eef1797bbb9d | [log] [tgz] |
---|---|---|
author | Ulrich Weigand <weigand@informatik.uni-erlangen.de> | Mon Dec 07 10:36:56 1998 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Mon Dec 07 10:36:56 1998 +0000 |
tree | 7d9f1d8734a45d58762c76a0798c6f3b09240365 | |
parent | 7af95ae105ec7b58b4bc83795546d9d79da1b0b0 [diff] |
Bugfix: -microsoft-symbol encoding was not recognized.
diff --git a/graphics/x11drv/xfont.c b/graphics/x11drv/xfont.c index 25396d9..00741c3 100644 --- a/graphics/x11drv/xfont.c +++ b/graphics/x11drv/xfont.c
@@ -375,7 +375,7 @@ 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 )