From 6318f2268f9cc7761651ac84f0b44963902e2ead Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Fri, 1 Mar 2013 14:29:28 +0100 Subject: [PATCH] assistant: no need for raw strings --- src/commands.cc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/commands.cc b/src/commands.cc index 7727fe05..7abf8974 100644 --- a/src/commands.cc +++ b/src/commands.cc @@ -555,14 +555,14 @@ void menu(const CommandParameters& params, Context& context) static String assist(String message, CharCount maxWidth) { static const std::vector assistant = - { R"( ╭──╮ )", - R"( │ │ )", - R"( @ @ ╭)", - R"( ││ ││ │)", - R"( ││ ││ ╯)", - R"( │╰─╯│ )", - R"( ╰───╯ )", - R"( )" }; + { " ╭──╮ ", + " │ │ ", + " @ @ ╭", + " ││ ││ │", + " ││ ││ ╯", + " │╰─╯│ ", + " ╰───╯ ", + " " }; const CharCount maxBubbleWidth = maxWidth - assistant[0].char_length() - 6; CharCount bubbleWidth = 0;