diff --git a/src/if_ruby.c b/src/if_ruby.c index 9c91f3177c..bf7aa1aae0 100644 --- a/src/if_ruby.c +++ b/src/if_ruby.c @@ -1262,7 +1262,7 @@ static VALUE vim_blob(VALUE self UNUSED, VALUE str) for (i = 0; i < RSTRING_LEN(str); i++) { sprintf(buf, "%02X", RSTRING_PTR(str)[i]); - rb_str_concat(result, rb_str_new_cstr(buf)); + rb_str_concat(result, rb_str_new2(buf)); } return result; } diff --git a/src/version.c b/src/version.c index 729f650174..114539abb1 100644 --- a/src/version.c +++ b/src/version.c @@ -783,6 +783,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 848, /**/ 847, /**/