summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun McCance <shaunm@src.gnome.org>2003-11-10 16:35:37 +0000
committerShaun McCance <shaunm@src.gnome.org>2003-11-10 16:35:37 +0000
commit47a724021815b245395061cc133ccc19a44bc624 (patch)
tree94351325f925365319ca1b20a984ce45c7d3ffcf
parent85e86b3f218fb0fb0bcba35a8cd1b808567ad212 (diff)
downloadyelp-47a724021815b245395061cc133ccc19a44bc624.tar.gz
- Fix silliness with g_strdup_printf (Joe Marcus Clarke and Roderich
* src/info2html/main.c: - Fix silliness with g_strdup_printf (Joe Marcus Clarke and Roderich Schupp)
-rw-r--r--ChangeLog6
-rw-r--r--src/info2html/main.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 3b698b04..b871e24d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-11-10 Shaun McCance <shaunm@gnome.org>
+
+ * src/info2html/main.c:
+ - Fix silliness with g_strdup_printf
+ (Joe Marcus Clarke and Roderich Schupp)
+
2003-09-01 Shaun McCance <shaunm@gnome.org>
* configure.in: Version 2.4.1
diff --git a/src/info2html/main.c b/src/info2html/main.c
index 41fe8160..30d4ceb0 100644
--- a/src/info2html/main.c
+++ b/src/info2html/main.c
@@ -125,11 +125,11 @@ main(int argc, const char **argv)
for(i = 0; i < ndirs; i++) {
ext = "";
- buf = g_strdup_printf (buf, "%s/%s.info", dirs[i], args[0]);
+ buf = g_strdup_printf ("%s/%s.info", dirs[i], args[0]);
if(file_exists(buf))
break;
g_free (buf);
- buf = g_strdup_printf (buf, "%s/%s", dirs[i], args[0]);
+ buf = g_strdup_printf ("%s/%s", dirs[i], args[0]);
if(file_exists(buf)) {
no_info = TRUE;
break;
@@ -141,7 +141,7 @@ main(int argc, const char **argv)
if(file_exists(buf))
break;
g_free (buf);
- buf = g_strdup_printf (buf, "%s/%s.gz", dirs[i], args[0]);
+ buf = g_strdup_printf ("%s/%s.gz", dirs[i], args[0]);
if(file_exists(buf)) {
no_info = TRUE;
break;