diff options
author | Arturo Espinosa <unammx@src.gnome.org> | 1999-09-28 04:56:29 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1999-09-28 04:56:29 +0800 |
commit | 241a65b72b3620f85bad00fac28d268e5f47d2d6 (patch) | |
tree | 94f749268b21a9ae37a71ff2ad2cb91cc23e311a /calendar/gui/calendar-pilot-sync.c | |
parent | 9d0b58bb8eb5a2180c6d38d7e45c9396331dc725 (diff) | |
download | gsoc2013-evolution-241a65b72b3620f85bad00fac28d268e5f47d2d6.tar gsoc2013-evolution-241a65b72b3620f85bad00fac28d268e5f47d2d6.tar.gz gsoc2013-evolution-241a65b72b3620f85bad00fac28d268e5f47d2d6.tar.bz2 gsoc2013-evolution-241a65b72b3620f85bad00fac28d268e5f47d2d6.tar.lz gsoc2013-evolution-241a65b72b3620f85bad00fac28d268e5f47d2d6.tar.xz gsoc2013-evolution-241a65b72b3620f85bad00fac28d268e5f47d2d6.tar.zst gsoc2013-evolution-241a65b72b3620f85bad00fac28d268e5f47d2d6.zip |
Small fix -miguel
svn path=/trunk/; revision=1265
Diffstat (limited to 'calendar/gui/calendar-pilot-sync.c')
-rw-r--r-- | calendar/gui/calendar-pilot-sync.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/calendar-pilot-sync.c b/calendar/gui/calendar-pilot-sync.c index e8261197af..f4bc821500 100644 --- a/calendar/gui/calendar-pilot-sync.c +++ b/calendar/gui/calendar-pilot-sync.c @@ -245,9 +245,9 @@ update_record (GNOME_Calendar_Repository repo, int id, struct Appointment *a, in 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; } |