summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorJohn Fleck <jfleck@src.gnome.org>2001-02-21 14:07:24 +0000
committerJohn Fleck <jfleck@src.gnome.org>2001-02-21 14:07:24 +0000
commit035888bed1d863929e1ed02e286e11fd4be0a866 (patch)
tree1e0f221a56061bc8d1d2be61ecd36fe2e417bba7 /components
parent3b89abb390efd8a2579e92d42a555916a97027d1 (diff)
downloadnautilus-035888bed1d863929e1ed02e286e11fd4be0a866.tar.gz
John Fleck <jfleck@inkstain.net>
John Fleck <jfleck@inkstain.net> * components/help/converters/gnome-db2html2/sect-preparse.c add a test to gloss_term_append - if a glossentry has not id (a special case, but one that does on occasion occur) bail out of the function without trying to add it to the hash of glossentries fixes bug #6511
Diffstat (limited to 'components')
-rw-r--r--components/help/converters/gnome-db2html2/sect-preparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/help/converters/gnome-db2html2/sect-preparse.c b/components/help/converters/gnome-db2html2/sect-preparse.c
index cb3de2ce8..455f67880 100644
--- a/components/help/converters/gnome-db2html2/sect-preparse.c
+++ b/components/help/converters/gnome-db2html2/sect-preparse.c
@@ -347,7 +347,7 @@ gloss_term_append (Context *context,
if (temp_list != NULL) {
temp_glossentry = g_strdup_printf ("%s", (char *)temp_list->data);
- }
+ } else { return; }
/* check to see if glossary_data hash exists - if not create it */
if (context->glossary_data == NULL) {