aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog4
-rw-r--r--calendar/goto.c2
-rw-r--r--calendar/gui/goto.c2
3 files changed, 6 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 89c65c2f8e..f807a8906b 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,7 @@
+1999-02-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
+
+ * goto.c (goto_dialog): Indentation fixes.
+
1999-02-15 Tomas Ogren <stric@ing.umu.se>
* goto.c: Made a private copy of what localtime() returns, to be able
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,
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,