Added MAX_LINE_BUFFER_SIZE constant instead of using a hardcoded number in the array brackets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -34,6 +34,13 @@
|
|||||||
#define FORBID_WARN 1
|
#define FORBID_WARN 1
|
||||||
#define FORBID_ABSOLUTELY 2
|
#define FORBID_ABSOLUTELY 2
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __WXMSW__
|
||||||
|
const int MAX_LINE_BUFFER_SIZE = 600;
|
||||||
|
#else
|
||||||
|
const int MAX_LINE_BUFFER_SIZE = 11000;
|
||||||
|
#endif
|
||||||
|
|
||||||
class TexMacroDef: public wxObject
|
class TexMacroDef: public wxObject
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
Reference in New Issue
Block a user