]> git.sesse.net Git - ccbs/blobdiff - bigscreen/groupscreen.cpp
Various changes and fixes for CC1.
[ccbs] / bigscreen / groupscreen.cpp
index 750cec44ea9df56f17fb53a00c1f496218973338..c13c3325ffb821e39335c4527bbeb83ecbc206b8 100644 (file)
@@ -194,9 +194,13 @@ void GroupScreen::find_column_widths(const Group &group, std::vector<unsigned> &
                        
                for (unsigned i = 0; i <= num_scores + 2; ++i)
                        sumcolwidth += colwidth[i] + 20;
-                       
+               
                if (sumcolwidth < 780)
                        break;
+
+               if (mode == 0) {
+                       colwidth.erase(colwidth.begin(), colwidth.end());
+               }
        }
 
        /*