1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-26 07:33:47 +00:00

(Fcurrent_time_zone): Accept spaces in timezone

names.
This commit is contained in:
Gerd Moellmann 2001-04-05 14:04:44 +00:00
parent e7343b6085
commit 04b566a183

View File

@ -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;