]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fontmap.cpp
OS/2 updates for statusbar processing and easier VA debugging
[wxWidgets.git] / src / common / fontmap.cpp
index ac8a9e9b67d9587cb6312e58304fdf6a62e91145..7e76472727bcfd76985b0c6f3798e59b6296b1fc 100644 (file)
@@ -447,7 +447,7 @@ wxFontEncoding wxFontMapper::CharsetToEncoding(const wxString& charset,
                 {
                     value -= 1250;
                     if ( value < wxFONTENCODING_CP12_MAX -
-                                 wxFONTENCODING_CP1250 - 1 )
+                                 wxFONTENCODING_CP1250 )
                     {
                         // a valid Windows code page
                         value += wxFONTENCODING_CP1250;