mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
Bug 767824 - Some UTC timezones incorrectly recognized on Windows 7
The condition removed erroneously excluded UTC-based and DST-less timezones and so left the GArray with no contents, so GTimeZone functions returned whatever random garbage was in memory.
This commit is contained in:
parent
fadd00c708
commit
35b401c8bb
@ -893,7 +893,7 @@ init_zone_from_rules (GTimeZone *gtz,
|
||||
++info_index;
|
||||
skip_first_std_trans = TRUE;
|
||||
}
|
||||
else if (rules[ri].std_offset || rules[ri].dlt_offset)
|
||||
else
|
||||
{
|
||||
const guint start_year = rules[ri].start_year;
|
||||
const guint end_year = rules[ri + 1].start_year;
|
||||
|
Loading…
Reference in New Issue
Block a user