This change is controversial. It changes the behavior of fl_filename_list

slightly by adding a forward slash after every directory name on every
supported OS. Included in this patch is a change in the code that 
lists mounted volumes on OS X Mac.

Apple users, please check. Open FLUID, open the file dialog and
clear the current path. You shoudl see a list of mounted volumes.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4525 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher
2005-08-17 21:56:22 +00:00
parent 760bca71ab
commit eca40efb6e
4 changed files with 51 additions and 40 deletions
+2
View File
@@ -718,6 +718,8 @@ reading the directory a number less than zero is returned, and
<tt>errno</tt> has the reason; <tt>errno</tt> does not work
under WIN32.
<P>The name of directory always ends in a forward slash '/'.
<P>The <tt>sort</tt> argument specifies a sort function to be used
when on the array of filenames. The following standard sort functions
are provided with FLTK: