0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.0.1137: cannot build with Ruby

Problem:    Cannot build with Ruby.
Solution:   Fix misplaced brace.
This commit is contained in:
Bram Moolenaar
2017-09-22 16:56:22 +02:00
parent 0263146b5d
commit e745d75c3e
2 changed files with 3 additions and 1 deletions

View File

@@ -1470,7 +1470,7 @@ static VALUE window_set_height(VALUE self, VALUE height)
static VALUE window_width(VALUE self UNUSED)
{
return INT2NUM(get_win(self->w_width));
return INT2NUM(get_win(self)->w_width);
}
static VALUE window_set_width(VALUE self UNUSED, VALUE width)