changeset 37217:9156124d97e2

(Fcurrent_time_zone): Accept spaces in timezone names.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 05 Apr 2001 14:04:44 +0000
parents 2c3b55c8be66
children b63262a6cdcd
files src/editfns.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/editfns.c	Thu Apr 05 13:53:02 2001 +0000
+++ b/src/editfns.c	Thu Apr 05 14:04:44 2001 +0000
@@ -1767,7 +1767,7 @@
 	  /* 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;