changeset 12517:1b65cbe1578d v8.0.1137

patch 8.0.1137: cannot build with Ruby commit https://github.com/vim/vim/commit/e745d75c3e0d976e73bd17c395e9cce98f671692 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Sep 22 16:56:22 2017 +0200 patch 8.0.1137: cannot build with Ruby Problem: Cannot build with Ruby. Solution: Fix misplaced brace.
author Christian Brabandt <cb@256bit.org>
date Fri, 22 Sep 2017 17:00:05 +0200
parents b8e69a3dbc9e
children 92ae7825fe2f
files src/if_ruby.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/if_ruby.c
+++ b/src/if_ruby.c
@@ -1470,7 +1470,7 @@ static VALUE window_set_height(VALUE sel
 
 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)
--- a/src/version.c
+++ b/src/version.c
@@ -762,6 +762,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1137,
+/**/
     1136,
 /**/
     1135,