From 248e5ae6c04d88a80a0222785e8b51945f479769 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 26 Mar 2014 19:06:16 +0000 Subject: [PATCH] fix file reload prompt displaying invalid message --- src/client.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.cc b/src/client.cc index e6527944..70c04c02 100644 --- a/src/client.cc +++ b/src/client.cc @@ -129,7 +129,7 @@ void Client::check_buffer_fs_timestamp() return; if (key == 'r' or key == 'y') reload_buffer(context, filename); - if (key == 'k' or key == 'n') + else if (key == 'k' or key == 'n') { buf->set_fs_timestamp(ts); print_status({"'" + buf->display_name() + "' kept", get_color("Information") });