diff options
| author | Jason Rumney | 2006-11-25 00:32:40 +0000 |
|---|---|---|
| committer | Jason Rumney | 2006-11-25 00:32:40 +0000 |
| commit | 5f7a4874864fd6db81383554dabda16bc58fe899 (patch) | |
| tree | 600364f027d29c47a5c3c44506869aa956cec24a /lib-src/emacsclient.c | |
| parent | 410797a5114e55e21162272991c003b5e4401d10 (diff) | |
| download | emacs-5f7a4874864fd6db81383554dabda16bc58fe899.tar.gz emacs-5f7a4874864fd6db81383554dabda16bc58fe899.zip | |
(file_name_absolute_p) [WINDOWSNT]: Use isalpha().
Diffstat (limited to 'lib-src/emacsclient.c')
| -rw-r--r-- | lib-src/emacsclient.c | 2 |
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 | ||