1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2025-12-08 11:05:01 +00:00

easy change

SCCS-file: localtime.c
SCCS-SID: 7.45
This commit is contained in:
Arthur David Olson
1995-10-10 10:27:44 -04:00
committed by Paul Eggert
parent cf8be6a38b
commit a693f2a5b8

View File

@ -1458,10 +1458,10 @@ const long offset;
if (sp == NULL)
return WRONG;
#endif /* defined ALL_STATE */
for (samei = 0; samei < sp->typecnt; ++samei) {
for (samei = sp->typecnt - 1; samei >= 0; --samei) {
if (sp->ttis[samei].tt_isdst != tmp->tm_isdst)
continue;
for (otheri = 0; otheri < sp->typecnt; ++otheri) {
for (otheri = sp->typecnt - 1; otheri >= 0; --otheri) {
if (sp->ttis[otheri].tt_isdst == tmp->tm_isdst)
continue;
tmp->tm_sec += sp->ttis[otheri].tt_gmtoff -