diff -r 19be47c9bab7 -r 35b968619b0c sources/coloredline.cpp --- a/sources/coloredline.cpp Mon Dec 15 21:59:24 2014 +0200 +++ b/sources/coloredline.cpp Mon Dec 15 22:35:17 2014 +0200 @@ -147,5 +147,6 @@ if (length() % cols != 0) rows++; + print_to ("logfile", "Line of %1 chars with %2 cols is %3 rows\n", length(), cols, max (rows, 1)); return max (rows, 1); }