{
ResObject::constPtr res(*resit);
- if (gSettings.verbosity == 0)
+ if (gSettings.verbosity == VERBOSITY_NORMAL)
{
// watch the terminal widht
- if (cols_written + res->name().size() + 1 > cols)
+ if (cols_written == 0)
+ cout << INDENT;
+ else if (cols_written + res->name().size() + 1 > cols)
{
cout << endl;
cols_written = 0;
}
- if (cols_written = 0)
- cout << INDENT;
cols_written += res->name().size();
}
cout_v << endl;
}
- if (gSettings.verbosity == 0)
+ if (gSettings.verbosity == VERBOSITY_NORMAL)
cout << endl;
}