mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-11 15:37:29 +02:00
Addendum to emergency fix
Ensure vim_message() outputs an empty message when the Ruby string has length 0. Failing to do this will cause the message area not to clear when it should.
This commit is contained in:
@@ -773,6 +773,10 @@ static VALUE vim_message(VALUE self UNUSED, VALUE str)
|
||||
if (p) *p = '\0';
|
||||
MSG(buff);
|
||||
}
|
||||
else
|
||||
{
|
||||
MSG("");
|
||||
}
|
||||
return Qnil;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user