Skip to content

Commit

Permalink
patch 8.0.1137: cannot build with Ruby
Browse files Browse the repository at this point in the history
Problem:    Cannot build with Ruby.
Solution:   Fix misplaced brace.
  • Loading branch information
brammool committed Sep 22, 2017
1 parent 0263146 commit e745d75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/if_ruby.c
Expand Up @@ -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)
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -761,6 +761,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1137,
/**/
1136,
/**/
Expand Down

0 comments on commit e745d75

Please sign in to comment.