]> granicus.if.org Git - vim/commitdiff
patch 8.0.1137: cannot build with Ruby v8.0.1137
authorBram Moolenaar <Bram@vim.org>
Fri, 22 Sep 2017 14:56:22 +0000 (16:56 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 22 Sep 2017 14:56:22 +0000 (16:56 +0200)
Problem:    Cannot build with Ruby.
Solution:   Fix misplaced brace.

src/if_ruby.c
src/version.c

index 9474e7c8a60f7e84592d7e28d9f8e7e7de5f25a4..c1b42e67557ad6683488235ea23aff67720da067 100644 (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)
index 5d57a353cd58cfce22c72dfc8fc4d071586d3efb..abb9300d78a1bac32264a996dcaf68cd72e172e4 100644 (file)
@@ -761,6 +761,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1137,
 /**/
     1136,
 /**/