- unsigned col = 1;
- for (std::vector<Score>::const_iterator j = i->scores.begin(); j != i->scores.end(); ++j, ++col) {
- if (j->chosen) {
- width[col] = std::max(width[col], my_draw_text(j->song.title, NULL, 0, 0, false, 0, 0, 0) +
- my_draw_text("8888", NULL, 0, 0, false, 0, 0, 0) + 10);
- } else {
- width[col] = std::max(width[col], my_draw_text(j->song.title, NULL, 0, 0, false, 0, 0, 0));
- width[col] = std::max(width[col], my_draw_text("8888", NULL, 0, 0, false, 0, 0, 0));
+ for (std::vector<Score>::const_iterator j = i->scores.begin(); j != i->scores.end(); ++j, ++col) {
+ if (j->chosen) {
+ width[col] = std::max(width[col], my_draw_text((mode == 0) ? j->song.title : j->song.short_title, NULL, 12.0) +
+ max_num_width + 10);
+ } else {
+ width[col] = std::max(width[col], my_draw_text(j->song.short_title, NULL, 12.0));
+ width[col] = std::max(width[col], max_num_width);
+ }