]> git.sesse.net Git - ccbs/blobdiff - bigscreen/groupscreen.cpp
Only allocate space for four digits in the score screen -- if somebody actually gets...
[ccbs] / bigscreen / groupscreen.cpp
index c51c853995b2c24634fb09adb34b076064dec029..8432bbf321e66fbea4bc846b941856207a349594 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));