mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Gnucash on Windows will not start.
in the TimeZoneProvider function load_windows_classic_tz make_pair should of used max_year as the first parameter.
This commit is contained in:
parent
c739f4fae4
commit
e81494756e
@ -227,7 +227,7 @@ TimeZoneProvider::load_windows_classic_tz (HKEY key, time_zone_names names)
|
|||||||
(LPBYTE) ®tzi, &size) == ERROR_SUCCESS)
|
(LPBYTE) ®tzi, &size) == ERROR_SUCCESS)
|
||||||
{
|
{
|
||||||
zone_vector.push_back(
|
zone_vector.push_back(
|
||||||
std::make_pair(0, zone_from_regtzi (regtzi, names)));
|
std::make_pair(max_year, zone_from_regtzi (regtzi, names)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (std::bad_alloc)
|
catch (std::bad_alloc)
|
||||||
|
Loading…
Reference in New Issue
Block a user