diff src/util.c @ 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 4bb701a8736f
children 33bef17125c2
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;
 	}