X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/80a24267cbc17d85e278e1f10cdfdaea12199639..4f9297b0eead20a0bfee71df18e0d8f0cbc402fb:/src/common/fontmap.cpp diff --git a/src/common/fontmap.cpp b/src/common/fontmap.cpp index ac8a9e9b67..7e76472727 100644 --- a/src/common/fontmap.cpp +++ b/src/common/fontmap.cpp @@ -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;