From: Ricardo Cruz Date: Wed, 9 Jun 2004 11:41:50 +0000 (+0000) Subject: Fixed aligment of Coins with Lives. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=780c7ade94ab5e2b30c9bf1441369c34f73ba794;p=supertux.git Fixed aligment of Coins with Lives. SVN-Revision: 1455 --- diff --git a/src/gameloop.cpp b/src/gameloop.cpp index 1652bef69..a91fcf783 100644 --- a/src/gameloop.cpp +++ b/src/gameloop.cpp @@ -721,7 +721,7 @@ GameSession::drawstatus(DrawingContext& context) sprintf(str, " %d", player_status.distros); context.draw_text(white_text, _("COINS"), - Vector(screen->w - white_text->get_text_width(_("COINS"))-white_text->get_text_width(str), 0), + Vector(screen->w - white_text->get_text_width(_("COINS"))-white_text->get_text_width(" 99"), 0), LAYER_FOREGROUND1); context.draw_text(gold_text, str, Vector(screen->w - gold_text->get_text_width(" 99"), 0),LAYER_FOREGROUND1);