From 0325e7f312c71e9d046ee4ab4efbd1aa2643c282 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 2 Apr 2013 14:03:39 +0200 Subject: [PATCH] minor cleanup in assist function --- src/commands.cc | 4 ++-- 1 file 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"; }