summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Lebl <jirka@5z.com>2001-03-06 05:01:03 +0000
committerGeorge Lebl <jirka@src.gnome.org>2001-03-06 05:01:03 +0000
commit129753ccffb288a2de75d269dcef5fd2927e0b32 (patch)
tree8e4303ec1fb46e306b2a43c9217e358165b48044
parent22fdf1dcb6510d0e0f54820dd3cd95be2f8ba6db (diff)
downloadyelp-129753ccffb288a2de75d269dcef5fd2927e0b32.tar.gz
Ian McKellar <ian@eazel.com> said this patch will end global hunger andNAUTILUS_1_ANCHOR
Mon Mar 05 20:57:14 2001 George Lebl <jirka@5z.com> Ian McKellar <ian@eazel.com> said this patch will end global hunger and bring about world peace. * components/help/hyperbola-filefmt.c (fmt_toplevel_add_doc): g_strdup and not strdup if we're going to g_free. Fixes #7414 * components/help/hyperbola-filefmt.c (locale_score) (is_new_locale_better) (fmt_toplevel_parse_xml_tree) (fmt_toplevel_populate_tree) (get_path_from_node): When looking at the toplevels documents XML tree, score different paths for a document according to the position of the locale in the language list that was gotten from gnome_i18n_get_language_list. fmt_toplevel_parse_xml_tree now returns TRUE/FALSE for better detection of unparsable files then before. Also check if the file exists and is readable before adding it to the tree. Fixes #7311, #7314 * components/help/converters/gnome-info2html2/main.c (main): the "bz" integer is only used when HAVE_LIBBZ2 is on, and it's not for me, so put it into the HAVE_LIBBZ2 define protected code. Fixes #7417
-rw-r--r--src/info2html/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/info2html/main.c b/src/info2html/main.c
index abe5edbf..63334df3 100644
--- a/src/info2html/main.c
+++ b/src/info2html/main.c
@@ -46,8 +46,8 @@ main(int argc, char **argv)
gzFile f = NULL;
#ifdef HAVE_LIBBZ2
BZFILE *bf=NULL;
-#endif
int bz = 0;
+#endif
char line[250];
poptContext ctx;
int result;