Fix improper calculation of gmtDelta - was using Mac toolbox BitTest routine to test the wrong bit, changed to a simpler & test. Checking in with permission of cyeh.

git-svn-id: svn://10.0.0.236/trunk@17539 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sdagley%netscape.com
1999-01-12 01:22:46 +00:00
parent 87fb4e371e
commit e7b7c5345f

View File

@@ -121,8 +121,8 @@ long GMTDelta()
MyReadLocation(&loc);
gmtDelta = loc.u.gmtDelta & 0x00FFFFFF;
if (BitTst((Ptr)&gmtDelta, 23))
gmtDelta = gmtDelta | 0xFF000000;
if ((gmtDelta & 0x00800000) != 0)
gmtDelta |= 0xFF000000;
return gmtDelta;
}