Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2005:
[Freeciv-Dev] (PR#11774) Remaining civmanual problems
Home

[Freeciv-Dev] (PR#11774) Remaining civmanual problems

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Cc: freeciv-data@xxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#11774) Remaining civmanual problems
From: "Christian Knoke" <chrisk@xxxxxxxxx>
Date: Fri, 14 Jan 2005 11:28:17 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=11774 >


This patch fixes no. 1 - 4. I don't think that I can fix the others, though.

Christian

-- 
Christian Knoke            * * *            http://cknoke.de
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.

--- manual/civmanual.c.orig     2005-01-14 11:37:16.000000000 +0100
+++ manual/civmanual.c  2005-01-14 20:15:38.000000000 +0100
@@ -193,7 +193,7 @@
        const struct command *cmd = &commands[i];
 
        fprintf(doc, SEPARATOR);
-       fprintf(doc, _("%s%s  -  %s%s\n\n"), SECTION_BEGIN, cmd->name,
+       fprintf(doc, "%s%s  -  %s%s\n\n", SECTION_BEGIN, cmd->name,
                _(cmd->short_help), SECTION_END);
        if (cmd->synopsis) {
          fprintf(doc, _("<table>\n<tr>\n<td valign=\"top\">"
@@ -262,7 +262,7 @@
        fprintf(doc, "<td>%s</td></tr>\n\n",
                get_terrain_name(ptype->transform_result));
       } terrain_type_iterate_end;
-      fprintf(doc, _("</table><br><br><br><table border=1>"));
+      fprintf(doc, "</table><br><br><br><table border=1>");
       fprintf(doc, _("<caption>Time to perform action</caption>"));
       fprintf(doc, _("<tr><th>Terrain</th>\n"));
       fprintf(doc, _("<th>Road</th><th>Irrigation</th>\n"));
@@ -369,6 +369,8 @@
   init_nls();
   init_character_encodings("UTF-8", FALSE);
 
+  game_init();
+  
   manual_command();
 
   return 0;

[Prev in Thread] Current Thread [Next in Thread]