diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-12-04 19:04:15 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-12-04 19:04:15 +0000 |
| commit | ce08c01ebfc85a350c0b8553c9b801bf54fb156f (patch) | |
| tree | be8c7d002b9a3a673b538832cff574ba22fc8e57 | |
| parent | 731b29bf85376b85b620a2cc78f6773f4229f086 (diff) | |
isalpha, not isletter... :(
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1807 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | src/filename_isdir.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/filename_isdir.cxx b/src/filename_isdir.cxx index 4620e29e6..486823b6f 100644 --- a/src/filename_isdir.cxx +++ b/src/filename_isdir.cxx @@ -1,5 +1,5 @@ // -// "$Id: filename_isdir.cxx,v 1.4.2.5.2.1 2001/12/03 18:29:49 easysw Exp $" +// "$Id: filename_isdir.cxx,v 1.4.2.5.2.2 2001/12/04 19:04:15 easysw Exp $" // // Directory detection routines for the Fast Light Tool Kit (FLTK). // @@ -41,7 +41,7 @@ int filename_isdir(const char* n) { // (read lots of sarcasm in that...) length = strlen(n); if (length < (int)(sizeof(fn) - 1)) { - if (length < 4 && isletter(n[0]) && n[1] == ':') { + if (length < 4 && isalpha(n[0]) && n[1] == ':') { // Always use D:/ for drive letters fn[0] = n[0]; strcpy(fn + 1, ":/"); @@ -59,5 +59,5 @@ int filename_isdir(const char* n) { } // -// End of "$Id: filename_isdir.cxx,v 1.4.2.5.2.1 2001/12/03 18:29:49 easysw Exp $". +// End of "$Id: filename_isdir.cxx,v 1.4.2.5.2.2 2001/12/04 19:04:15 easysw Exp $". // |
