Previously defined length of 18 chars per name was not enough for
some of us and the authors list become poorly aligned. This changes
the format to have only three authors per line, thus allowing for
up to 26 characters per name. And we are hiring!
writer->writeLine(formatCentered(78, "GROMACS is written by:"));
for (int i = 0; i < NCONTRIBUTORS;)
{
- for (int j = 0; j < 4 && i < NCONTRIBUTORS; ++j, ++i)
+ for (int j = 0; j < 3 && i < NCONTRIBUTORS; ++j, ++i)
{
- const int width = 18;
+ const int width = 26;
std::array<char, 30> buf;
const int offset = centeringOffset(width, strlen(Contributors[i]));
GMX_RELEASE_ASSERT(static_cast<int>(strlen(Contributors[i])) + offset < gmx::ssize(buf),