changeset 13163:b230ed49c5d1

[gaim-migrate @ 15526] I was backwards on the WIN32 timezone offset. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 07 Feb 2006 18:14:37 +0000
parents dc0375c4984a
children 87ca2f6bd0dc
files src/util.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/util.c	Tue Feb 07 18:09:01 2006 +0000
+++ b/src/util.c	Tue Feb 07 18:14:37 2006 +0000
@@ -504,7 +504,7 @@
 	DWORD ret;
 	if ((ret = GetTimeZoneInformation(&tzi)) != TIME_ZONE_ID_INVALID)
 	{
-			off = tzi.Bias * 60;
+			off = -(tzi.Bias * 60);
 			if (ret == TIME_ZONE_ID_DAYLIGHT)
 					off -= tzi.DaylightBias * 60;
 	}