Better dumping of predefined version identifiers.

Also count spaces in order to limit line length to 80.
This commit is contained in:
kai 2014-10-29 21:57:21 +01:00
parent b9c2a74dbf
commit 2a8b92060f

View file

@ -821,7 +821,7 @@ static void dumpPredefinedVersions()
E = global.params.versionids->end(); E = global.params.versionids->end();
I != E; ++I) I != E; ++I)
{ {
int len = strlen(*I); int len = strlen(*I) + 1;
if (col + len > 80) if (col + len > 80)
{ {
col = 10; col = 10;