diff options
Diffstat (limited to 'src/Fl_File_Input.cxx')
| -rw-r--r-- | src/Fl_File_Input.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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 <FL/Fl_File_Input.H> #include <FL/Fl_Window.H> #include <FL/fl_draw.H> +#include <FL/filename.H> #include <stdio.h> #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... |
