From c2151121d3d274f694d8d8fd8c6fa1e300cc98e8 Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Wed, 26 May 1999 00:09:06 +0000 Subject: Added missing break here. It was causing core dumps when invoked with 1999-05-25 Miguel de Icaza * main.c (parse_an_arg): Added missing break here. It was causing core dumps when invoked with --userfile. svn path=/trunk/; revision=944 --- calendar/ChangeLog | 3 +++ calendar/gui/main.c | 3 ++- calendar/main.c | 3 ++- 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 + * 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; -- cgit v1.2.3