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 --- src/Fl_File_Input.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Fl_File_Input.cxx') diff --git a/src/Fl_File_Input.cxx b/src/Fl_File_Input.cxx index f1f3d2858..f22cc021f 100644 --- a/src/Fl_File_Input.cxx +++ b/src/Fl_File_Input.cxx @@ -30,6 +30,7 @@ #include #include #include +#include #include #include "flstring.h" @@ -240,7 +241,7 @@ Fl_File_Input::handle_button(int event) // I - Event X; // Current X position char *start, // Start of path component *end; // End of path component - char newvalue[1024]; // New value + char newvalue[FL_PATH_MAX]; // New value // Figure out which button is being pressed... -- cgit v1.2.3