From 1e33e2f3ae2533bc954a3eb780748eee1b422716 Mon Sep 17 00:00:00 2001 From: George Tasker Date: Fri, 22 Dec 2000 13:24:16 +0000 Subject: [PATCH] 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 --- utils/tex2rtf/src/tex2any.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/utils/tex2rtf/src/tex2any.h b/utils/tex2rtf/src/tex2any.h index 734c28dcd3..22068f38a9 100644 --- a/utils/tex2rtf/src/tex2any.h +++ b/utils/tex2rtf/src/tex2any.h @@ -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: -- 2.45.2