fix file reload prompt displaying invalid message
This commit is contained in:
parent
58b4e29e81
commit
248e5ae6c0
|
@ -129,7 +129,7 @@ void Client::check_buffer_fs_timestamp()
|
||||||
return;
|
return;
|
||||||
if (key == 'r' or key == 'y')
|
if (key == 'r' or key == 'y')
|
||||||
reload_buffer(context, filename);
|
reload_buffer(context, filename);
|
||||||
if (key == 'k' or key == 'n')
|
else if (key == 'k' or key == 'n')
|
||||||
{
|
{
|
||||||
buf->set_fs_timestamp(ts);
|
buf->set_fs_timestamp(ts);
|
||||||
print_status({"'" + buf->display_name() + "' kept", get_color("Information") });
|
print_status({"'" + buf->display_name() + "' kept", get_color("Information") });
|
||||||
|
|
Loading…
Reference in New Issue
Block a user