From 241a65b72b3620f85bad00fac28d268e5f47d2d6 Mon Sep 17 00:00:00 2001 From: Arturo Espinosa Date: Mon, 27 Sep 1999 20:56:29 +0000 Subject: Small fix -miguel svn path=/trunk/; revision=1265 --- calendar/gui/calendar-conduit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'calendar/gui/calendar-conduit.c') diff --git a/calendar/gui/calendar-conduit.c b/calendar/gui/calendar-conduit.c index 3fd110100a..68bcae0887 100644 --- a/calendar/gui/calendar-conduit.c +++ b/calendar/gui/calendar-conduit.c @@ -425,9 +425,9 @@ ical_from_remote_record(GnomePilotConduitStandardAbs *conduit, obj->recur->weekday |= 1 << wd; if (obj->recur->weekday == 0){ - struct tm *tm = localtime (&obj->dtstart); + struct tm tm = *localtime (&obj->dtstart); - obj->recur->weekday = 1 << tm->tm_wday; + obj->recur->weekday = 1 << tm.tm_wday; } break; } -- cgit v1.2.3