Only allocate space for four digits in the score screen -- if somebody actually gets...
authorSteinar H. Gunderson <sesse@samfundet.no>
Sat, 19 Feb 2005 22:31:34 +0000 (22:31 +0000)
committerSteinar H. Gunderson <sesse@samfundet.no>
Sat, 19 Feb 2005 22:31:34 +0000 (22:31 +0000)
bigscreen/groupscreen.cpp

index c51c853..8432bbf 100644 (file)
@@ -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<Player>::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));