mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-05-03 20:46:53 +02: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;
|
++info_index;
|
||||||
skip_first_std_trans = TRUE;
|
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 start_year = rules[ri].start_year;
|
||||||
const guint end_year = rules[ri + 1].start_year;
|
const guint end_year = rules[ri + 1].start_year;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user