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:
parent
e7343b6085
commit
04b566a183
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user