diff options
Diffstat (limited to 'calendar/gui/goto.c')
-rw-r--r-- | calendar/gui/goto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/goto.c b/calendar/gui/goto.c index cc86616d31..843be699d9 100644 --- a/calendar/gui/goto.c +++ b/calendar/gui/goto.c @@ -259,7 +259,7 @@ goto_dialog (GnomeCalendar *gcal) gnome_calendar = gcal; current_index = -1; - memcpy(&tm, localtime (&gnome_calendar->current_display), sizeof(tm)); + tm = *localtime (&gnome_calendar->current_display); goto_win = gnome_dialog_new (_("Go to date"), GNOME_STOCK_BUTTON_CANCEL, |