diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2010-12-19 21:20:10 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2010-12-19 21:20:10 +0000 |
| commit | 9092dccab89901b7074f9340bc7984910a80128f (patch) | |
| tree | 9c8d6ca2efa5c968060dc8b83afcec7daedfe764 /src/fl_file_dir.cxx | |
| parent | dc0c85b9644553ac9b5c51da43697b9906f9b44d (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 'src/fl_file_dir.cxx')
| -rw-r--r-- | src/fl_file_dir.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fl_file_dir.cxx b/src/fl_file_dir.cxx index 023562be7..591b54c5c 100644 --- a/src/fl_file_dir.cxx +++ b/src/fl_file_dir.cxx @@ -80,7 +80,7 @@ fl_file_chooser(const char *message, // I - Message in titlebar const char *pat, // I - Filename pattern const char *fname, // I - Initial filename selection int relative) { // I - 0 for absolute path - static char retname[1024]; // Returned filename + static char retname[FL_PATH_MAX]; // Returned filename if (!fc) { if (!fname || !*fname) fname = "."; @@ -163,7 +163,7 @@ fl_dir_chooser(const char *message, // I - Message for titlebar const char *fname, // I - Initial directory name int relative) // I - 0 for absolute { - static char retname[1024]; // Returned directory name + static char retname[FL_PATH_MAX]; // Returned directory name if (!fc) { if (!fname || !*fname) fname = "."; |
