diff options
Diffstat (limited to 'src/info2html/html.c')
-rw-r--r-- | src/info2html/html.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/info2html/html.c b/src/info2html/html.c index 31db2e2c..f5dd8e54 100644 --- a/src/info2html/html.c +++ b/src/info2html/html.c @@ -53,7 +53,8 @@ char *form_info_tag_href( char *nodefile, char *nodename ) else filename = nodefile; - g_snprintf(tmp,sizeof(tmp),"HREF=\"info:%s#%s\"", filename, escaped_nodename ); + g_snprintf (tmp, sizeof (tmp), "HREF=\"#%s\"", escaped_nodename); + if (escaped_nodename) g_free(escaped_nodename); return g_strdup(tmp); |