Remove fixed size of gs_encodingNames array in font mapper code.
Specifying the size explicitly made wxCOMPILE_TIME_ASSERT() checking that the array sizes were synchronized useless as the array always had the correct size, independently of the real number of elements in it. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -236,7 +236,7 @@ static const char* const gs_encodingDescs[] =
|
||||
};
|
||||
|
||||
// and the internal names (these are not translated on purpose!)
|
||||
static const wxChar* const gs_encodingNames[WXSIZEOF(gs_encodingDescs)][9] =
|
||||
static const wxChar* const gs_encodingNames[][9] =
|
||||
{
|
||||
// names from the columns correspond to these OS:
|
||||
// Linux Solaris and IRIX HP-UX AIX
|
||||
|
Reference in New Issue
Block a user