aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog3
-rw-r--r--calendar/gui/main.c3
-rw-r--r--calendar/main.c3
3 files changed, 7 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 9e6f34d745..c802b374a9 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,8 @@
1999-05-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
+ * main.c (parse_an_arg): Added missing break here. It was causing
+ core dumps when invoked with --userfile.
+
* gnome-cal.c (gnome_calendar_set_view): Add some assertions here,
to pin point the bug reported on gnome-list.
diff --git a/calendar/gui/main.c b/calendar/gui/main.c
index 0961c87b4b..770608743a 100644
--- a/calendar/gui/main.c
+++ b/calendar/gui/main.c
@@ -739,7 +739,8 @@ parse_an_arg (poptContext ctx,
*/
arg = COOKIE_USER_HOME_DIR;
/* fall through */
-
+ break;
+
case VIEW_KEY:
start_views = g_list_append (start_views, arg);
break;
diff --git a/calendar/main.c b/calendar/main.c
index 0961c87b4b..770608743a 100644
--- a/calendar/main.c
+++ b/calendar/main.c
@@ -739,7 +739,8 @@ parse_an_arg (poptContext ctx,
*/
arg = COOKIE_USER_HOME_DIR;
/* fall through */
-
+ break;
+
case VIEW_KEY:
start_views = g_list_append (start_views, arg);
break;