aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@nuclecu.unam.mx>1999-05-26 08:09:06 +0800
committerArturo Espinosa <unammx@src.gnome.org>1999-05-26 08:09:06 +0800
commitc2151121d3d274f694d8d8fd8c6fa1e300cc98e8 (patch)
treea22375909ea748ef19e89fb0cd9698e5fd12e73d
parent089aee24eab2eaae8ecec6aedb3d3e82e0eeebf9 (diff)
downloadgsoc2013-evolution-c2151121d3d274f694d8d8fd8c6fa1e300cc98e8.tar
gsoc2013-evolution-c2151121d3d274f694d8d8fd8c6fa1e300cc98e8.tar.gz
gsoc2013-evolution-c2151121d3d274f694d8d8fd8c6fa1e300cc98e8.tar.bz2
gsoc2013-evolution-c2151121d3d274f694d8d8fd8c6fa1e300cc98e8.tar.lz
gsoc2013-evolution-c2151121d3d274f694d8d8fd8c6fa1e300cc98e8.tar.xz
gsoc2013-evolution-c2151121d3d274f694d8d8fd8c6fa1e300cc98e8.tar.zst
gsoc2013-evolution-c2151121d3d274f694d8d8fd8c6fa1e300cc98e8.zip
Added missing break here. It was causing core dumps when invoked with
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. svn path=/trunk/; revision=944
-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;