summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorAli Abdin <aliabdin@aucegypt.edu>2000-10-21 22:04:59 +0000
committerAli Abdin <rakholh@src.gnome.org>2000-10-21 22:04:59 +0000
commit86a6a6539d16812639228063aa109e456577dad2 (patch)
treef554200c690163199b1e677000429f612f393844 /components
parent276522992f547c508c33b00bab17ff00099a0802 (diff)
downloadnautilus-86a6a6539d16812639228063aa109e456577dad2.tar.gz
Add in 'break;' at the appropriate areas of the code. Should fix some
2000-10-21 Ali Abdin <aliabdin@aucegypt.edu> * components/help/converters/gnome-db2html2/toc-elements.c: (toc_sect_end_element): Add in 'break;' at the appropriate areas of the code. Should fix some issues. DOH!! This was also needed to fix Bug #3863. Thank god for testers.
Diffstat (limited to 'components')
-rw-r--r--components/help/converters/gnome-db2html2/toc-elements.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/components/help/converters/gnome-db2html2/toc-elements.c b/components/help/converters/gnome-db2html2/toc-elements.c
index 36462950b..61ca6e909 100644
--- a/components/help/converters/gnome-db2html2/toc-elements.c
+++ b/components/help/converters/gnome-db2html2/toc-elements.c
@@ -242,20 +242,27 @@ toc_sect_end_element (Context *context,
/* FIXME: should chapter be set to zero? */
context->preface = 0;
context->sect1 = 0;
+ break;
case 't':
context->sect1 = 0;
+ break;
case '1':
context->sect2 = 0;
+ break;
case '2':
context->sect3 = 0;
+ break;
case '3':
context->sect4 = 0;
+ break;
case '4':
context->sect5 = 0;
+ break;
case 'n':
/* FIXME: should chapter be set to zero? */
context->appendix = 0;
context->sect1 = 0;
+ break;
default:
break;
}