diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2006-03-28 15:24:14 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2006-03-28 15:24:14 +0000 |
| commit | 7e42a63aa6482c53e13582adf95c001f47886a52 (patch) | |
| tree | b01b6f9f27fc9e81c7f4940860a2c47dd676b25c /src/Fl_File_Browser.cxx | |
| parent | 37518df9b3a5634cb3e10b5a6e97acc0be209178 (diff) | |
ST 1148: a preselected filename will also be selected in the file chooser when popping up. I put a lot of effort into trying to make the chooser behave as it previously did in all other situations, e.g. to choose a directory
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4875 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_File_Browser.cxx')
| -rw-r--r-- | src/Fl_File_Browser.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_File_Browser.cxx b/src/Fl_File_Browser.cxx index 7698a8083..a09a61984 100644 --- a/src/Fl_File_Browser.cxx +++ b/src/Fl_File_Browser.cxx @@ -467,7 +467,7 @@ Fl_File_Browser::load(const char *directory,// I - Directory to load { sprintf(filename, "%c:/", i); - if (i < 'C') + if (i < 'C') // see also: GetDriveType and GetVolumeInformation in WIN32 add(filename, icon); else add(filename, icon); |
