summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2013-04-02 14:03:39 +0200
committerMaxime Coste <frrrwww@gmail.com>2013-04-02 14:03:39 +0200
commit0325e7f312c71e9d046ee4ab4efbd1aa2643c282 (patch)
tree1cd9d9bc873a236775119b750552ff8d5b79ac5a /src
parent7bf73b589683f195e119eddb6adb56fc607cef4e (diff)
minor cleanup in assist function
Diffstat (limited to 'src')
-rw-r--r--src/commands.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands.cc b/src/commands.cc
index 3043fbd8..68f9ea59 100644
--- a/src/commands.cc
+++ b/src/commands.cc
@@ -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";
}