From 9092dccab89901b7074f9340bc7984910a80128f Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sun, 19 Dec 2010 21:20:10 +0000 Subject: Changed all fixed filename buffers (that I could find) to use FL_PATH_MX instead. Raised FL_PATH_MX from skipy 256 characters to 2048, which corresponds with modern file systems. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8063 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- fluid/Fl_Function_Type.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fluid/Fl_Function_Type.cxx') diff --git a/fluid/Fl_Function_Type.cxx b/fluid/Fl_Function_Type.cxx index d7c0774fc..a015190a4 100644 --- a/fluid/Fl_Function_Type.cxx +++ b/fluid/Fl_Function_Type.cxx @@ -1107,7 +1107,7 @@ void Fl_Comment_Type::open() { comment_in_header->value(in_h_); comment_panel->show(); const char* message = 0; - char itempath[256]; itempath[0] = 0; + char itempath[FL_PATH_MAX]; itempath[0] = 0; int last_selected_item = 0; for (;;) { // repeat as long as there are errors if (message) fl_alert("%s", message); @@ -1350,7 +1350,7 @@ void Fl_Class_Type::read_property(const char *c) { void Fl_Class_Type::open() { if (!class_panel) make_class_panel(); - char fullname[1024]=""; + char fullname[FL_PATH_MAX]=""; if (prefix() && strlen(prefix())) sprintf(fullname,"%s %s",prefix(),name()); else -- cgit v1.2.3