Skip to content

Commit

Permalink
FIX: convoi money display in lists
Browse files Browse the repository at this point in the history
git-svn-id: svn://tron.homeunix.org/simutrans/simutrans/trunk@6293 8aca7d54-2c30-db11-9de9-000461428c89
  • Loading branch information
TurfIt committed Jan 20, 2013
1 parent b185657 commit b775e2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/gui_convoiinfo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ void gui_convoiinfo_t::zeichnen(koord offset)

int w = display_proportional_clip(pos.x+offset.x+2,pos.y+offset.y+6+LINESPACE, translator::translate("Gewinn"), ALIGN_LEFT, COL_BLACK, true)+2;
char buf[256];
money_to_string(buf, (double)(cnv->get_jahresgewinn()/100) );
money_to_string(buf, cnv->get_jahresgewinn() / 100.0 );
w += display_proportional_clip(pos.x+offset.x+2+w+5,pos.y+offset.y+6+LINESPACE, buf, ALIGN_LEFT, cnv->get_jahresgewinn()>0?MONEY_PLUS:MONEY_MINUS, true);
max_x = max(max_x,w+5);

Expand Down

0 comments on commit b775e2e

Please sign in to comment.