X-Git-Url: https://git.sesse.net/?p=ccbs;a=blobdiff_plain;f=bigscreen%2Fgroupscreen.cpp;h=96afeecb3363cd47ac8bec5a210e5064b163f562;hp=dacefbcbccc7f64b0992abb4f19bf4f6567b8a4c;hb=095c175c9d289b584cf4cb6d337fd9c491c0a887;hpb=1c6ee3e8264d2d8d03f470a5781cb8c774336af1 diff --git a/bigscreen/groupscreen.cpp b/bigscreen/groupscreen.cpp index dacefbc..96afeec 100644 --- a/bigscreen/groupscreen.cpp +++ b/bigscreen/groupscreen.cpp @@ -64,8 +64,8 @@ void GroupScreen::draw(unsigned char *buf) // titles for chosen songs. unsigned width[16], num_scores; unsigned max_num_width = my_draw_text("8888", NULL, 22.0); - unsigned mode, sumwidth; - for (mode = 0; mode < 2; ++mode) { + unsigned sumwidth; + for (unsigned mode = 0; mode < 2; ++mode) { for (unsigned i = 0; i < 16; ++i) width[i] = 0;