Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2003:
[Freeciv-Dev] (PR#4334) win32 gtk2 population display bug when > 1 000 0
Home

[Freeciv-Dev] (PR#4334) win32 gtk2 population display bug when > 1 000 0

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: rt-guest@xxxxxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#4334) win32 gtk2 population display bug when > 1 000 000
From: "Vasco Alexandre da Silva Costa" <vasc@xxxxxxxxxxxxxx>
Date: Mon, 20 Oct 2003 12:48:37 -0700
Reply-to: rt@xxxxxxxxxxxxxx

Just try reading through the code:
'population_to_text(civ_population(game.player_ptr));' leads to:
'general_int_to_text(thousand_citizen, 3);' which is a mess. Wouldn't be
surprised if there is a bug in there.

Why can't we just sprintf with '%d'? Must the numbers really be always
presented in US numeric format?




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#4334) win32 gtk2 population display bug when > 1 000 000, Vasco Alexandre da Silva Costa <=