summaryrefslogtreecommitdiff
path: root/src/commands.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2015-09-20 11:34:13 +0100
committerMaxime Coste <frrrwww@gmail.com>2015-09-20 11:34:13 +0100
commit2b4b73ae8e450c995ccccc93fcf6d2b73ea18862 (patch)
tree5091585fa7f2a261e13a854a1339648291fde2ae /src/commands.cc
parentb3e0e27d1fc295ab14ab0855bca4fcfe71d0ad49 (diff)
Remove the default_face parameter of parse_display_line
No need to define a default face there, we will pass a default face to UserInterface::draw_status later.
Diffstat (limited to 'src/commands.cc')
-rw-r--r--src/commands.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.cc b/src/commands.cc
index 0c35cb26..12534798 100644
--- a/src/commands.cc
+++ b/src/commands.cc
@@ -904,7 +904,7 @@ const CommandDesc echo_cmd = {
if (parser.get_switch("debug"))
write_to_debug_buffer(message);
else if (parser.get_switch("markup"))
- context.print_status(parse_display_line(message, get_face("StatusLine")));
+ context.print_status(parse_display_line(message));
else
{
auto face = get_face(parser.get_switch("color").value_or("StatusLine").str());