Branch: Tag:

2019-04-05

2019-04-05 09:30:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Calendar.Timezone: Fixed bug in handling of multi-line tz-files.

107: Inside #if 1
   } else {    foreach(s/"\n", string line) {    line = (line/"#")[0]; // Strip comments. -  if (sscanf(s, "%*s" + var_name + "=%s", s) == 2) { +  if (sscanf(line, "%*s" + var_name + "=%s", s) == 2) {    sscanf(s, "\"%s\"", s); // Strip quotes (if any).    if (tz = `[](s))    {