aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/emacsclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c
index 5e8b563984d..6970c1ab9a4 100644
--- a/lib-src/emacsclient.c
+++ b/lib-src/emacsclient.c
@@ -451,7 +451,7 @@ file_name_absolute_p (filename)
451 451
452#ifdef WINDOWSNT 452#ifdef WINDOWSNT
453 /* X:\xxx is always absolute; X:xxx is an error and will fail. */ 453 /* X:\xxx is always absolute; X:xxx is an error and will fail. */
454 if (islower (tolower (filename[0])) 454 if (isalpha (filename[0])
455 && filename[1] == ':' && (filename[2] == '\\' || filename[2] == '/')) 455 && filename[1] == ':' && (filename[2] == '\\' || filename[2] == '/'))
456 return TRUE; 456 return TRUE;
457 457