summaryrefslogtreecommitdiff
path: root/src/filename_list.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>1999-09-15 15:18:12 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>1999-09-15 15:18:12 +0000
commit9afb77da56efaa7fb65e1dbac0515803671e3ecb (patch)
treeedbb2897671aa919d4b417887d7dda36b3bb8878 /src/filename_list.cxx
parent54a6bda767ccf76473c127aa47b2d15bdc4f5491 (diff)
Fixed long-standing bug reported by Rick Sayre in Fl_Browser_ - if the
draw code added a horizontal scrollbar it might not add the vertical one until the next redraw. Added FreeBSD to the list of platforms needing the scandir function cast. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@718 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/filename_list.cxx')
-rw-r--r--src/filename_list.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/filename_list.cxx b/src/filename_list.cxx
index d9412de57..9392ce29c 100644
--- a/src/filename_list.cxx
+++ b/src/filename_list.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: filename_list.cxx,v 1.10 1999/02/22 20:54:44 mike Exp $"
+// "$Id: filename_list.cxx,v 1.10.2.1 1999/09/15 15:18:12 mike Exp $"
//
// Filename list routines for the Fast Light Tool Kit (FLTK).
//
@@ -40,7 +40,7 @@ extern "C" {
}
int filename_list(const char *d, dirent ***list) {
-#if defined(_AIX) || defined(CRAY) || defined(linux)
+#if defined(_AIX) || defined(CRAY) || defined(linux) || defined(__FreeBSD__)
// on some systems you may need to do this, due to a rather common
// error in the prototype for the sorting function, where a level
// of pointer indirection is missing:
@@ -55,5 +55,5 @@ int filename_list(const char *d, dirent ***list) {
}
//
-// End of "$Id: filename_list.cxx,v 1.10 1999/02/22 20:54:44 mike Exp $".
+// End of "$Id: filename_list.cxx,v 1.10.2.1 1999/09/15 15:18:12 mike Exp $".
//