summaryrefslogtreecommitdiff
path: root/src/Fl_File_Chooser2.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2007-01-23 15:02:00 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2007-01-23 15:02:00 +0000
commitc8f1e91448569e74cdccda11792ac4557185ed3f (patch)
tree845f8bc78efe9b4ad03c656a4391734ad5981ea5 /src/Fl_File_Chooser2.cxx
parent7401cf37bf2ac6c6e6a6c230ff1b52ed8fbe06b8 (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/Fl_File_Chooser2.cxx')
-rw-r--r--src/Fl_File_Chooser2.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Fl_File_Chooser2.cxx b/src/Fl_File_Chooser2.cxx
index 77ba45850..e6ccf6347 100644
--- a/src/Fl_File_Chooser2.cxx
+++ b/src/Fl_File_Chooser2.cxx
@@ -412,9 +412,9 @@ Fl_File_Chooser::fileListCB()
if (Fl::event_clicks()) {
#if (defined(WIN32) && ! defined(__CYGWIN__)) || defined(__EMX__)
if ((strlen(pathname) == 2 && pathname[1] == ':') ||
- fl_filename_isdir_quick(pathname))
+ _fl_filename_isdir_quick(pathname))
#else
- if (fl_filename_isdir_quick(pathname))
+ if (_fl_filename_isdir_quick(pathname))
#endif /* WIN32 || __EMX__ */
{
// Change directories...
@@ -477,7 +477,7 @@ Fl_File_Chooser::fileListCB()
if (callback_) (*callback_)(this, data_);
// Activate the OK button as needed...
- if (!fl_filename_isdir_quick(pathname) || (type_ & DIRECTORY))
+ if (!_fl_filename_isdir_quick(pathname) || (type_ & DIRECTORY))
okButton->activate();
else
okButton->deactivate();
@@ -544,15 +544,15 @@ Fl_File_Chooser::fileNameCB()
// Enter pressed - select or change directory...
#if (defined(WIN32) && ! defined(__CYGWIN__)) || defined(__EMX__)
if ((isalpha(pathname[0] & 255) && pathname[1] == ':' && !pathname[2]) ||
- fl_filename_isdir_quick(pathname) &&
+ _fl_filename_isdir_quick(pathname) &&
compare_dirnames(pathname, directory_)) {
#else
- if (fl_filename_isdir_quick(pathname) &&
+ if (_fl_filename_isdir_quick(pathname) &&
compare_dirnames(pathname, directory_)) {
#endif /* WIN32 || __EMX__ */
directory(pathname);
} else if ((type_ & CREATE) || access(pathname, 0) == 0) {
- if (!fl_filename_isdir_quick(pathname) || (type_ & DIRECTORY)) {
+ if (!_fl_filename_isdir_quick(pathname) || (type_ & DIRECTORY)) {
// Update the preview box...
update_preview();