]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fontmap.cpp
wxHTML src code indentation now conforms (more) to wxWin coding style
[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 -
                 {
                     value -= 1250;
                     if ( value < wxFONTENCODING_CP12_MAX -
-                                 wxFONTENCODING_CP1250 - 1 )
+                                 wxFONTENCODING_CP1250 )
                     {
                         // a valid Windows code page
                         value += wxFONTENCODING_CP1250;
                     {
                         // a valid Windows code page
                         value += wxFONTENCODING_CP1250;