encconv.cpp: Remove comment about 5 being big enough value for ENC_PER_PLATFORM - it should be the minimum
necessary instead. fmapbase.cpp: Slightly reduce the size of an array - it should be reduced further (we only have one item with the size of 9, rest are not over 6) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
da9619e046
commit
cc845a6142
@ -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] = {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user