summaryrefslogtreecommitdiff
path: root/src/client_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/client_manager.cc')
-rw-r--r--src/client_manager.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client_manager.cc b/src/client_manager.cc
index e4e37f0b..b812c958 100644
--- a/src/client_manager.cc
+++ b/src/client_manager.cc
@@ -65,7 +65,8 @@ Client* ClientManager::create_client(std::unique_ptr<UserInterface>&& ui, int pi
}
catch (Kakoune::runtime_error& error)
{
- client->context().print_status({ fix_atom_text(error.what().str()), get_face("Error") });
+ client->context().print_status({ fix_atom_text(error.what().str()),
+ client->context().faces()["Error"] });
client->context().hooks().run_hook("RuntimeError", error.what(),
client->context());
}