Skip to content

Commit

Permalink
Fix GLib assert on windows when entering a date in dst
Browse files Browse the repository at this point in the history
  • Loading branch information
gjanssens committed Feb 21, 2014
1 parent a224f2b commit 7f22ea3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/libqof/qof/gnc-date.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ gnc_g_time_zone_adjust_for_dst (GTimeZone* tz, GDateTime *date)
g_return_val_if_fail (date != NULL, NULL);
if (dst > 0 && win32_in_dst (date, &tzinfo))
{
g_time_zone_unref (tz);
bias = tzinfo.Bias + tzinfo.DaylightBias;
hours = -bias / 60; // 60 minutes per hour
minutes = (bias < 0 ? -bias : bias) % 60;
Expand Down

0 comments on commit 7f22ea3

Please sign in to comment.