mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-29 06:13:20 +00:00
builtin_set_color.cpp: remove unnecessary .c_str()
This commit is contained in:
parent
5f05d9734c
commit
715836cb0a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue