From ce08c01ebfc85a350c0b8553c9b801bf54fb156f Mon Sep 17 00:00:00 2001 From: Michael R Sweet <michael.r.sweet@gmail.com> Date: Tue, 4 Dec 2001 19:04:15 +0000 Subject: [PATCH] isalpha, not isletter... :( git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1807 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/filename_isdir.cxx | 6 +++--- 1 file 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 $". // -- GitLab