From 07f65e88e6fd4ebbe8c055f3acd0385f9b64f238 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 19 Feb 2005 22:31:34 +0000 Subject: [PATCH] Only allocate space for four digits in the score screen -- if somebody actually gets AAA on Max 300, so be it :-) --- bigscreen/groupscreen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.39.2