From: Gerd Moellmann Date: Thu, 5 Apr 2001 14:04:44 +0000 (+0000) Subject: (Fcurrent_time_zone): Accept spaces in timezone X-Git-Tag: emacs-pretest-21.0.102~25 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=04b566a18390e7a01ce3dc0423b6aaf5cd7fbb8e;p=emacs.git (Fcurrent_time_zone): Accept spaces in timezone names. --- diff --git a/src/editfns.c b/src/editfns.c index 11ad0080d4f..2c443ca5d24 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -1767,7 +1767,7 @@ the data it can't find.") /* On Japanese w32, we can get a Japanese string as time zone name. Don't accept that. */ char *p; - for (p = s; *p && isalnum (*p); ++p) + for (p = s; *p && (isalnum (*p) || *p == ' '); ++p) ; if (p == s || *p) s = NULL;