diff options
author | Mikael Hallendal <micke@codefactory.se> | 2002-07-14 23:10:06 +0000 |
---|---|---|
committer | Mikael Hallendal <hallski@src.gnome.org> | 2002-07-14 23:10:06 +0000 |
commit | 13f84a49475779598271c9a4460bf100687a0cfb (patch) | |
tree | 3ac936e492f4aa9603453da5d456ae018c5a2010 | |
parent | 2f72f6cae2268f197e1ad966086d18be9d99b1af (diff) | |
download | yelp-13f84a49475779598271c9a4460bf100687a0cfb.tar.gz |
Print with %% instead of % to printf, I'm stupid :) Fixes 87972, thanks
2002-07-15 Mikael Hallendal <micke@codefactory.se>
* src/yelp-view-toc.c (toc_start): Print with %% instead of % to
printf, I'm stupid :) Fixes 87972, thanks
mathew@fugue.jpl.nasa.gov for finding this.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/yelp-view-toc.c | 20 |
2 files changed, 16 insertions, 10 deletions
@@ -1,3 +1,9 @@ +2002-07-15 Mikael Hallendal <micke@codefactory.se> + + * src/yelp-view-toc.c (toc_start): Print with %% instead of % to + printf, I'm stupid :) Fixes 87972, thanks + mathew@fugue.jpl.nasa.gov for finding this. + 2002-07-11 Brian Cameron <Brian.Cameron@sun.com> * yelp/configure.in diff --git a/src/yelp-view-toc.c b/src/yelp-view-toc.c index daf37a24..ff257199 100644 --- a/src/yelp-view-toc.c +++ b/src/yelp-view-toc.c @@ -335,7 +335,7 @@ toc_start (YelpViewTOC *view) } yelp_html_printf (priv->html_view, - "</ul></td><td bgcolor=\"#3b3b4f\" width=\"10%\"> </td></tr>"); + "</ul></td><td bgcolor=\"#3b3b4f\" width=\"10%%\"> </td></tr>"); toc_page_end (view); @@ -418,7 +418,7 @@ toc_man_emit (YelpViewTOC *view, GNode *first) yelp_html_printf (priv->html_view, "<h3>%s</h3>", str_docs); yelp_html_write (priv->html_view, - "<table cellpadding=\"2\" cellspacing=\"2\" border=\"0\" width=\"100%\">\n", + "<table cellpadding=\"2\" cellspacing=\"2\" border=\"0\" width=\"100%%\">\n", -1); i = 0; @@ -494,7 +494,7 @@ toc_man_2 (YelpViewTOC *view, toc_man_emit (view, first); yelp_html_printf (priv->html_view, - "</td><td bgcolor=\"#3b3b4f\" width=\"10%\"> </td></tr>\n"); + "</td><td bgcolor=\"#3b3b4f\" width=\"10%%\"> </td></tr>\n"); toc_page_end (view); @@ -551,7 +551,7 @@ toc_man_1 (YelpViewTOC *view) } while ((node = g_node_next_sibling (node))); yelp_html_printf (priv->html_view, - "</ul></td><td bgcolor=\"#3b3b4f\" width=\"10%\"> </td></tr>"); + "</ul></td><td bgcolor=\"#3b3b4f\" width=\"10%%\"> </td></tr>"); toc_page_end (view); @@ -605,7 +605,7 @@ toc_info (YelpViewTOC *view) } while ((node = g_node_next_sibling (node))); yelp_html_printf (priv->html_view, - "</ul></td><td bgcolor=\"#3b3b4f\" width=\"10%\"> </td></tr>"); + "</ul></td><td bgcolor=\"#3b3b4f\" width=\"10%%\"> </td></tr>"); toc_page_end (view); @@ -708,13 +708,13 @@ toc_page_start (YelpViewTOC *view, const gchar *title, const gchar *heading) "<body marginwidth=\"0\"\n" "background=\"file:" IMAGEDIR "/bcg.png\" marginheight=\"0\"\n" "border=\"10\" topmargin=\"0\" leftmargin=\"0\">\n" - "<table width=\"100%\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">\n" + "<table width=\"100%%\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">\n" "<tr valign=\"top\">\n" "<td width=\"75\">\n" "<img alt=\"\" src=\"file:" IMAGEDIR "/empty.png\" width=\"75\" height=\"1\">\n" "</td>\n" "<td colspan=\"2\"><h1>%s</h1></td>\n" - "<td bgcolor=\"#3b3b4f\" width=\"10%\"> </td>\n" + "<td bgcolor=\"#3b3b4f\" width=\"10%%\"> </td>\n" "</tr>\n" "<tr valign=\"top\">\n" "<td width=\"75\">\n" @@ -744,7 +744,7 @@ toc_page_end (YelpViewTOC *view) "<td colspan=\"2\">\n" "<img src=\"file:" IMAGEDIR "/empty.png\" height=\"200\">\n" "</td>\n" - "<td bgcolor=\"#3b3b4f\" width=\"10%\"> </td></tr>\n" + "<td bgcolor=\"#3b3b4f\" width=\"10%%\"> </td></tr>\n" "<tr valign=\"top\">\n" "<td width=\"75\"><img alt=\"\" src=\"file:" IMAGEDIR "/empty.png\" width=\"75\" height=\"1\"></td>\n" "<td>\n" @@ -756,7 +756,7 @@ toc_page_end (YelpViewTOC *view) "<font size=\"-1\">%s <a href=\"http://www.gnu.org/philosophy/free-sw.html\">%s</a> | <a href=\"http://www.gnome.org\">http://www.gnome.org</a><br>\n" "%s 2001-2002 Mikael Hallendal</font>\n" "</td>\n" - "<td bgcolor=\"#3b3b4f\" width=\"10%\"> </td>\n" + "<td bgcolor=\"#3b3b4f\" width=\"10%%\"> </td>\n" "</tr>\n" "</table></body></html>\n", str_gnome_is, @@ -865,7 +865,7 @@ toc_scrollkeeper (YelpViewTOC *view, GNode *root) } yelp_html_printf (priv->html_view, - "</ul></td><td bgcolor=\"#3b3b4f\" width=\"10%\"> </td></tr>"); + "</ul></td><td bgcolor=\"#3b3b4f\" width=\"10%%\"> </td></tr>"); toc_page_end (view); |