diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2004-02-26 03:06:41 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2004-02-26 03:06:41 +0000 |
| commit | 1b840383451e10c18508bd51f44f39789383504b (patch) | |
| tree | 4151d8919edda206972cdd26be8aa0082be04817 /src/Fl_File_Browser.cxx | |
| parent | 7615da84bb83093a0cfa925b9b8004c385074e62 (diff) | |
WIN32's scandir() emulation did not allocate enough memory for
directory names (STR #263)
Fl::compose() did not handle special keys like backspace
properly (STR #293)
Fl_Choice did not clip its text when drawing using the plastic
scheme (STR #287)
Fl_Group incorrectly mapped the emacs CTRL keys to keyboard
navigation (STR #228)
Fl_File_Browser::load() didn't handle a NULL directory name (STR
#266)
64-bit library fixes (STR #261, )
The Fl_Valuator::format() function did not limit the size of the
number buffer (STR #268)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3211 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_File_Browser.cxx')
| -rw-r--r-- | src/Fl_File_Browser.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Fl_File_Browser.cxx b/src/Fl_File_Browser.cxx index 6052fa99d..b9c21fb52 100644 --- a/src/Fl_File_Browser.cxx +++ b/src/Fl_File_Browser.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_File_Browser.cxx,v 1.1.2.26 2003/05/04 21:45:45 easysw Exp $" +// "$Id: Fl_File_Browser.cxx,v 1.1.2.27 2004/02/26 03:06:40 easysw Exp $" // // Fl_File_Browser routines. // @@ -421,8 +421,12 @@ Fl_File_Browser::load(const char *directory,// I - Directory to load // printf("Fl_File_Browser::load(\"%s\")\n", directory); clear(); + directory_ = directory; + if (!directory) + return (0); + if (directory_[0] == '\0') { // @@ -639,5 +643,5 @@ Fl_File_Browser::filter(const char *pattern) // I - Pattern string // -// End of "$Id: Fl_File_Browser.cxx,v 1.1.2.26 2003/05/04 21:45:45 easysw Exp $". +// End of "$Id: Fl_File_Browser.cxx,v 1.1.2.27 2004/02/26 03:06:40 easysw Exp $". // |
