Corrected a column-wise formatting issue
This commit is contained in:
parent
d167724bac
commit
a181ac52d3
1 changed files with 2 additions and 2 deletions
|
|
@ -346,7 +346,7 @@ string format_t::truncate(const unistring& ustr, std::size_t width,
|
||||||
// Even abbreviated its too big to show the last account, so
|
// Even abbreviated its too big to show the last account, so
|
||||||
// abbreviate all but the last and truncate at the beginning.
|
// abbreviate all but the last and truncate at the beginning.
|
||||||
unistring temp(result.str());
|
unistring temp(result.str());
|
||||||
buf << ".." << temp.extract(temp.length() - width, width);
|
buf << ".." << temp.extract(temp.length() - width - 2, width - 2);
|
||||||
} else {
|
} else {
|
||||||
buf << result.str();
|
buf << result.str();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue