Skip to content
Snippets Groups Projects
Commit f6d4084b authored by Franck Dary's avatar Franck Dary
Browse files

Changed filler in debug output

parent 5b546740
No related branches found
No related tags found
No related merge requests found
......@@ -77,7 +77,7 @@ util::utf8string util::splitAsUtf8(std::string_view s)
std::string util::shrink(const std::string & s, int printedSize)
{
static const std::string filler = "..";
static const std::string filler = "";
if (printedLength(s) <= printedSize)
return s;
......@@ -88,7 +88,7 @@ std::string util::shrink(const std::string & s, int printedSize)
std::string begin, end;
int nbLoop = 0;
while (printedLength(begin)+printedLength(end)+2 <= printedSize)
while (printedLength(begin)+printedLength(end)+printedLength(filler) <= printedSize)
{
result = begin + filler + end;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment