summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Hallendal <micke@codefactory.se>2002-08-15 19:10:52 +0000
committerMikael Hallendal <hallski@src.gnome.org>2002-08-15 19:10:52 +0000
commit2e4b674c8a659325af18434a7800d47c6c20a9dc (patch)
treebba1bda15d445b22a02f04f7ba7fb96080ef963e
parente5686905b4c9ace96bc065d893000dfa1d7af259 (diff)
downloadyelp-LIBGNOME_2_0_4.tar.gz
2002-08-15 Mikael Hallendal <micke@codefactory.se> * help-converters/man/gnome-man2html.c: (scan_table): applied patch from Kjaartan fixing #77895
-rw-r--r--src/man2html/yelp-man2html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/man2html/yelp-man2html.c b/src/man2html/yelp-man2html.c
index c305773a..ac23402f 100644
--- a/src/man2html/yelp-man2html.c
+++ b/src/man2html/yelp-man2html.c
@@ -175,7 +175,7 @@ static char *URLbasename = NULL;
free will be exit() anyway. Hack to fix a malloc bug that I couldn't
track down (michael@actrix.gen.nz).
*/
-#define free(x)
+/* #define free(x) */
static char
*stralloc(int len)
@@ -1235,7 +1235,7 @@ static char
next_row(currow);
curfield=layout->first;
i=0;
- while (!finished) {
+ while (!finished && *c) {
/* search item */
h=c;
if ((*c=='_' || *c=='=') && (c[1]==itemsep || c[1]=='\n')) {