namespace bbtk {
+#define POORT_MAX_LINE_SIZE_INTERPRETER 1500
+
//=========================================================================
// EED 15 oct 2012 wxVtkSceneManager::wxVtkSceneManager(wxGEditorTabPanel *parent, wxVtk3DBaseView *baseView, int idManager,Factory::Pointer bbtkfactory)
std::string line = "";
char delims[] = ":";
char *result = NULL;
- int MAX_LINE_SIZE=1500;
- char poort[MAX_LINE_SIZE];
+ char poort[POORT_MAX_LINE_SIZE_INTERPRETER];
getCleanLine(inputStream, line);
while (port == "PORT")
{
getCleanLine(inputStream, line);//name:value
- if (line.length()>=MAX_LINE_SIZE-1)
+ if (line.length()>=POORT_MAX_LINE_SIZE_INTERPRETER-1)
{
- line=line.substr(0, MAX_LINE_SIZE-1);
+ line=line.substr(0, POORT_MAX_LINE_SIZE_INTERPRETER-1);
}
strcpy(poort, line.c_str());