Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2004:
[Freeciv-Dev] (PR#8723) missing newline in panel text
Home

[Freeciv-Dev] (PR#8723) missing newline in panel text

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#8723) missing newline in panel text
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 12 May 2004 11:31:29 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=8723 >

Vasco pointed out in PR#8722 that there's a missing newline in the panel 
text.  This patch should fix it.

jason

? eff
Index: client/text.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/text.c,v
retrieving revision 1.1
diff -u -r1.1 text.c
--- client/text.c       23 Apr 2004 22:58:05 -0000      1.1
+++ client/text.c       12 May 2004 18:30:48 -0000
@@ -440,8 +440,9 @@
             population_to_text(civ_population(game.player_ptr)));
   add_line(_("Year: %s"), textyear(game.year));
   add_line(_("Gold: %d"), game.player_ptr->economic.gold);
-  add(_("Tax: %d Lux: %d Sci: %d"), game.player_ptr->economic.tax,
-      game.player_ptr->economic.luxury, game.player_ptr->economic.science);
+  add_line(_("Tax: %d Lux: %d Sci: %d"), game.player_ptr->economic.tax,
+          game.player_ptr->economic.luxury,
+          game.player_ptr->economic.science);
   RETURN;
 }
 

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#8723) missing newline in panel text, Jason Short <=