minor cleanup in assist function

This commit is contained in:
Maxime Coste 2013-04-02 14:03:39 +02:00
parent 7bf73b5896
commit 0325e7f312

View File

@ -633,7 +633,7 @@ static String assist(String message, CharCount maxWidth)
result += assistant[std::min((int)i, (int)assistant.size()-1)];
if (i == 0)
result += "╭─" + String(Codepoint{L''}, (int)bubbleWidth) + "─╮";
result += "╭─" + String(Codepoint{L''}, bubbleWidth) + "─╮";
else if (i < lines.size() + 1)
{
auto& line = lines[(int)i - 1];
@ -641,7 +641,7 @@ static String assist(String message, CharCount maxWidth)
result += "" + line + String(' ', padding) + "";
}
else if (i == lines.size() + 1)
result += "╰─" + String(Codepoint{L''}, (int)bubbleWidth) + "─╯";
result += "╰─" + String(Codepoint{L''}, bubbleWidth) + "─╯";
result += "\n";
}