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/forms_fselect.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/forms_fselect.cxx') diff --git a/src/forms_fselect.cxx b/src/forms_fselect.cxx index 7abe749bb..ee2f00a5f 100644 --- a/src/forms_fselect.cxx +++ b/src/forms_fselect.cxx @@ -30,9 +30,9 @@ #include #include "flstring.h" -static char fl_directory[1024]; +static char fl_directory[FL_PATH_MAX]; static const char *fl_pattern; // assumed passed value is static -static char fl_filename[1024]; +static char fl_filename[FL_PATH_MAX]; char* fl_show_file_selector(const char *message,const char *dir, const char *pat,const char *fname) { -- cgit v1.2.3