diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-11-25 16:38:11 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-11-25 16:38:11 +0000 |
| commit | c147aca0541e9f45b1bd9c8eed4ec71cb1c650ec (patch) | |
| tree | 3593beb32b551396fa369ce98e737f019a9193a9 /src/Fl_File_Browser.cxx | |
| parent | f6d88d27359cc24329ba728d00ede8a363640006 (diff) | |
Add flstring.h header file to include string functions, strcasecmp
definitions, and (v)snprintf function declarations...
Fix Fl_File_Chooser so it always checks for an empty directory_ (so
that is doesn't add the leading slash to drive letters and mount
points)
Make Fl_File_Icon use Fl_Shared_Image, and look in all KDE icon
directories.
Fl::error() no longer exits by default; only Fl::fatal() does...
Wasn't doing callbacks in Fl_Tabs when the current tab was changed
via the keyboard.
FLUID wasn't writing the tooltips in message files, and didn't count
tooltips when computing the message number for catgets.
Update dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1729 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_File_Browser.cxx')
| -rw-r--r-- | src/Fl_File_Browser.cxx | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/src/Fl_File_Browser.cxx b/src/Fl_File_Browser.cxx index f7ada7dae..5c44ba31d 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.4 2001/11/03 05:11:34 easysw Exp $" +// "$Id: Fl_File_Browser.cxx,v 1.1.2.5 2001/11/25 16:38:11 easysw Exp $" // // Fl_File_Browser routines. // @@ -42,8 +42,7 @@ #include <FL/filename.H> #include <stdio.h> #include <stdlib.h> -#include <string.h> -#include <config.h> +#include "flstring.h" #if defined(WIN32) && ! defined(__CYGWIN__) # include <windows.h> @@ -56,12 +55,6 @@ #include <os2.h> #endif /* __EMX__ */ -#if !HAVE_SNPRINTF -extern "C" { -extern int snprintf(char* str, size_t size, const char* fmt, ...); -} -#endif // !HAVE_SNPRINTF - // // FL_BLINE definition from "Fl_Browser.cxx"... @@ -566,5 +559,5 @@ Fl_File_Browser::filter(const char *pattern) // I - Pattern string // -// End of "$Id: Fl_File_Browser.cxx,v 1.1.2.4 2001/11/03 05:11:34 easysw Exp $". +// End of "$Id: Fl_File_Browser.cxx,v 1.1.2.5 2001/11/25 16:38:11 easysw Exp $". // |
