From 715836cb0a2ea542dee6a1c324c249a91de06471 Mon Sep 17 00:00:00 2001 From: Aaron Gyes Date: Wed, 18 Sep 2019 00:09:23 -0700 Subject: [PATCH] builtin_set_color.cpp: remove unnecessary .c_str() --- src/builtin_set_color.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/builtin_set_color.cpp b/src/builtin_set_color.cpp index 4f4a6f606..cb1bfcfdb 100644 --- a/src/builtin_set_color.cpp +++ b/src/builtin_set_color.cpp @@ -41,7 +41,7 @@ static void print_colors(io_streams_t &streams) { rgb_color_t color = rgb_color_t(color_name); outp.set_color(color, rgb_color_t::none()); } - outp.writestr(color_name.c_str()); + outp.writestr(color_name); outp.writech(L'\n'); } // conveniently, 'normal' is always the last color so we don't need to reset here