summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Lebl <jirka@5z.com>2000-06-18 01:11:12 +0000
committerGeorge Lebl <jirka@src.gnome.org>2000-06-18 01:11:12 +0000
commit3298f01fc455741ed6ab69a0e3e15177f704c90d (patch)
tree1bbcb18b35c57aec8211a63b323d250bcae8ddaa
parentdabfa6610d144d1cdb5e29c5647548ce8d3bd350 (diff)
downloadyelp-eazel-demo-0.tar.gz
Sat Jun 17 18:07:19 2000 George Lebl <jirka@5z.com> * gnome-info2html2/main.c (main): Use g_free on the node as it has been allocated with g_malloc * gnome-man2html2/gnome-man2html.c (scan_format): Patch from gnome bug number 3925. From the description: Briefly, gnome-man2html doesn't notice when the format lines in table declarations end if the last thing in the format specification is a font command.
-rw-r--r--src/info2html/main.c2
-rw-r--r--src/man2html/yelp-man2html.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/info2html/main.c b/src/info2html/main.c
index e6fa0a0f..bf3d17b5 100644
--- a/src/info2html/main.c
+++ b/src/info2html/main.c
@@ -213,7 +213,7 @@ main(int argc, char **argv)
if ( node->contents )
free(node->contents);
- free(node);
+ g_free(node);
BaseFilename = NULL;
}
}
diff --git a/src/man2html/yelp-man2html.c b/src/man2html/yelp-man2html.c
index 47993248..2db37daf 100644
--- a/src/man2html/yelp-man2html.c
+++ b/src/man2html/yelp-man2html.c
@@ -1054,7 +1054,7 @@ static char
c++;
curfield->font = toupper(*c);
c++;
- if (!isspace(*c)) c++;
+ if (!isspace(*c) && *c!='.') c++;
break;
case 't': case 'T': curfield->valign='t'; c++; break;
case 'p': case 'P':