From 3cd10863d28d2f2685472f19121068917684a399 Mon Sep 17 00:00:00 2001 From: Frederic Devernay Date: Tue, 22 Dec 1998 13:07:58 +0000 Subject: use g_snprintf() --- src/info2html/html.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/info2html/html.c b/src/info2html/html.c index 88d36933..1deec6be 100644 --- a/src/info2html/html.c +++ b/src/info2html/html.c @@ -51,7 +51,7 @@ char *form_info_tag_href( char *nodefile, char *nodename ) else filename = nodefile; - snprintf(tmp,sizeof(tmp),"HREF=\"info:%s#%s\"", filename, escaped_nodename ); + g_snprintf(tmp,sizeof(tmp),"HREF=\"info:%s#%s\"", filename, escaped_nodename ); if (escaped_nodename) g_free(escaped_nodename); return g_strdup(tmp); @@ -915,4 +915,3 @@ void write_html_horiz_rule( FILE *f ) { fprintf(f, "
\n"); } - -- cgit v1.2.1