commit | 8ddc5e7b93e09083aa7667caee79738aeef1cce2 | [log] [tgz] |
---|---|---|
author | Benno Schulenberg <bensberg@justemail.net> | Tue May 10 21:04:33 2016 +0200 |
committer | Benno Schulenberg <bensberg@justemail.net> | Tue May 10 21:24:34 2016 +0200 |
tree | 8139b51fc994086b559309fd3a2f92bf9d016bc7 | |
parent | c6ec435ae9db953dfba6e56f9b18de6829a587ec [diff] |
browser: make the calculation of files-per-line a straightforward one There is no need to iterate through all the file names, as we already know the length of the longest. From this it's easy to calculate how many names fit on a line.