From: Steinar H. Gunderson Date: Sat, 19 Feb 2005 22:31:34 +0000 (+0000) Subject: Only allocate space for four digits in the score screen -- if somebody actually gets... X-Git-Url: https://git.sesse.net/?p=ccbs;a=commitdiff_plain;h=07f65e88e6fd4ebbe8c055f3acd0385f9b64f238;ds=sidebyside Only allocate space for four digits in the score screen -- if somebody actually gets AAA on Max 300, so be it :-) --- diff --git a/bigscreen/groupscreen.cpp b/bigscreen/groupscreen.cpp index c51c853..8432bbf 100644 --- a/bigscreen/groupscreen.cpp +++ b/bigscreen/groupscreen.cpp @@ -46,7 +46,7 @@ void GroupScreen::draw(unsigned char *buf) for (unsigned i = 0; i < 16; ++i) width[i] = 0; - unsigned max_num_width = my_draw_text("88888", NULL, 22.0); + unsigned max_num_width = my_draw_text("8888", NULL, 22.0); for (std::vector::const_iterator i = group.players.begin(); i != group.players.end(); ++i) { unsigned col = 1; width[0] = std::max(width[0], my_draw_text(i->nick, NULL, 18.0));