diff --git a/src/common/encconv.cpp b/src/common/encconv.cpp index f43d0687e4..15509c9cbc 100644 --- a/src/common/encconv.cpp +++ b/src/common/encconv.cpp @@ -376,11 +376,9 @@ wxString wxEncodingConverter::Convert(const wxString& input) const #define NUM_OF_PLATFORMS 4 /*must conform to enum wxPLATFORM_XXXX !!!*/ #define ENC_PER_PLATFORM 3 - // max no. of encodings for one language used on one platform - // Anybody thinks 5 is not enough? ;-) - - // It is too much. Using maximum of everything at the current moment to not - // make the library larger than necessary. Make larger only if necessary - MR + // max no. of encodings for one language used on one platform. + // Using maximum of everything at the current moment to not make the + // library larger than necessary. Make larger only if necessary - MR static const wxFontEncoding EquivalentEncodings[][NUM_OF_PLATFORMS][ENC_PER_PLATFORM+1] = { diff --git a/src/common/fmapbase.cpp b/src/common/fmapbase.cpp index 85981bc1f1..f148a5cd21 100644 --- a/src/common/fmapbase.cpp +++ b/src/common/fmapbase.cpp @@ -155,7 +155,7 @@ static const wxChar* gs_encodingDescs[] = }; // and the internal names (these are not translated on purpose!) -static const wxChar* gs_encodingNames[WXSIZEOF(gs_encodingDescs)][10] = +static const wxChar* gs_encodingNames[WXSIZEOF(gs_encodingDescs)][9] = { // names from the columns correspond to these OS: // Linux Solaris and IRIX HP-UX AIX