- correct typo on alignment

This commit is contained in:
Antoine Fraboulet 2006-11-05 13:31:49 +00:00
parent ec3a91e444
commit 5b8cbbe680

View file

@ -165,10 +165,10 @@ wstring Round::toString() const
if (getWord().size() > 0)
{
rs = getWord();
rs += wstring(16 - getWord().size(), ' ');
rs += wstring(17 - getWord().size(), ' ');
rs += getBonus() ? L'*' : L' ';
wchar_t buff[5];
_swprintf(buff, 4, L"%d", getPoints());
_swprintf(buff, 4, L"%3d", getPoints());
rs += buff;
rs += L" " + getCoord().toString();
}