Mercurial > emacs
changeset 74176:6eee550d3bda
(file_name_absolute_p) [WINDOWSNT]: Use isalpha().
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Sat, 25 Nov 2006 00:32:40 +0000 |
parents | 7c1748aba037 |
children | 69805c3a8301 |
files | lib-src/emacsclient.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lib-src/emacsclient.c Sat Nov 25 00:30:51 2006 +0000 +++ b/lib-src/emacsclient.c Sat Nov 25 00:32:40 2006 +0000 @@ -451,7 +451,7 @@ #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;