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:
George Tasker 2000-12-22 13:24:16 +00:00
parent b68dc582b8
commit 1e33e2f3ae

View File

@ -34,6 +34,13 @@
#define FORBID_WARN 1
#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
{
public: