summaryrefslogtreecommitdiff
path: root/FL/Fl_File_Chooser.H
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2010-12-19 21:20:10 +0000
committerMatthias Melcher <fltk@matthiasm.com>2010-12-19 21:20:10 +0000
commit9092dccab89901b7074f9340bc7984910a80128f (patch)
tree9c8d6ca2efa5c968060dc8b83afcec7daedfe764 /FL/Fl_File_Chooser.H
parentdc0c85b9644553ac9b5c51da43697b9906f9b44d (diff)
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
Diffstat (limited to 'FL/Fl_File_Chooser.H')
-rw-r--r--FL/Fl_File_Chooser.H4
1 files changed, 2 insertions, 2 deletions
diff --git a/FL/Fl_File_Chooser.H b/FL/Fl_File_Chooser.H
index 3904db0f8..3b8777d97 100644
--- a/FL/Fl_File_Chooser.H
+++ b/FL/Fl_File_Chooser.H
@@ -54,8 +54,8 @@ private:
static Fl_Preferences prefs_;
void (*callback_)(Fl_File_Chooser*, void *);
void *data_;
- char directory_[1024];
- char pattern_[1024];
+ char directory_[FL_PATH_MAX];
+ char pattern_[FL_PATH_MAX];
char preview_text_[2048];
int type_;
void favoritesButtonCB();