diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2007-01-23 15:02:00 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2007-01-23 15:02:00 +0000 |
| commit | c8f1e91448569e74cdccda11792ac4557185ed3f (patch) | |
| tree | 845f8bc78efe9b4ad03c656a4391734ad5981ea5 /src/filename_isdir.cxx | |
| parent | 7401cf37bf2ac6c6e6a6c230ff1b52ed8fbe06b8 (diff) | |
Rename fl_filename_isdir_quick to _fl_filename_isdir_quick, do not
export it, and add comments to indicate that it is a private API we
do not support outside of FLTK.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5635 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/filename_isdir.cxx')
| -rw-r--r-- | src/filename_isdir.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filename_isdir.cxx b/src/filename_isdir.cxx index 4e21d8603..5d58911d8 100644 --- a/src/filename_isdir.cxx +++ b/src/filename_isdir.cxx @@ -40,7 +40,7 @@ static inline int isdirsep(char c) {return c=='/' || c=='\\';} #define isdirsep(c) ((c)=='/') #endif -int fl_filename_isdir_quick(const char* n) { +int _fl_filename_isdir_quick(const char* n) { // Do a quick optimization for filenames with a trailing slash... if (*n && isdirsep(n[strlen(n) - 1])) return 1; return fl_filename_isdir(n); |
