]> git.eshelyaron.com Git - emacs.git/commitdiff
(file_name_absolute_p) [WINDOWSNT]: Use isalpha().
authorJason Rumney <jasonr@gnu.org>
Sat, 25 Nov 2006 00:32:40 +0000 (00:32 +0000)
committerJason Rumney <jasonr@gnu.org>
Sat, 25 Nov 2006 00:32:40 +0000 (00:32 +0000)
lib-src/emacsclient.c

index 5e8b563984d9cc3fc977350020fdf3ba10c1cc80..6970c1ab9a4d521df10c6534f81daaae8289c079 100644 (file)
@@ -451,7 +451,7 @@ file_name_absolute_p (filename)
 
 #ifdef WINDOWSNT
   /* X:\xxx is always absolute; X:xxx is an error and will fail.  */
-  if (islower (tolower (filename[0]))
+  if (isalpha (filename[0])
       && filename[1] == ':' && (filename[2] == '\\' || filename[2] == '/'))
     return TRUE;