fix file reload prompt displaying invalid message

This commit is contained in:
Maxime Coste 2014-03-26 19:06:16 +00:00
parent 58b4e29e81
commit 248e5ae6c0

View File

@ -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") });