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:
Bjorn Winckler
2011-07-21 22:14:24 +02:00
parent 6bd19ecf62
commit 79ba4bcdc0
+4
View File
@@ -773,6 +773,10 @@ static VALUE vim_message(VALUE self UNUSED, VALUE str)
if (p) *p = '\0';
MSG(buff);
}
else
{
MSG("");
}
return Qnil;
}