aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/goto.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/goto.c')
-rw-r--r--calendar/goto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/goto.c b/calendar/goto.c
index cc86616d31..843be699d9 100644
--- a/calendar/goto.c
+++ b/calendar/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,