aboutsummaryrefslogtreecommitdiff
path: root/editors/vim6
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-04-28 19:34:59 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-04-28 19:34:59 +0000
commit15e997bfb21ea75ca7890aa718201fe62e29a97c (patch)
tree5ad156464eec31ea4536f767fe108b35660994f7 /editors/vim6
parent0b5b0887ca128f9a5112fe042b22d150fd3b6bf9 (diff)
downloadports-15e997bfb21ea75ca7890aa718201fe62e29a97c.tar.gz
ports-15e997bfb21ea75ca7890aa718201fe62e29a97c.zip
Notes
Diffstat (limited to 'editors/vim6')
-rw-r--r--editors/vim6/files/patch-if_ruby.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/editors/vim6/files/patch-if_ruby.c b/editors/vim6/files/patch-if_ruby.c
new file mode 100644
index 000000000000..1b219841aac2
--- /dev/null
+++ b/editors/vim6/files/patch-if_ruby.c
@@ -0,0 +1,13 @@
+--- if_ruby.c.orig Thu Apr 5 02:32:59 2001
++++ if_ruby.c Sun Apr 29 01:47:30 2001
+@@ -66,6 +66,10 @@
+ }
+ line = rb_lastline_get();
+ if (!NIL_P(line)) {
++ if (TYPE(line) != T_STRING) {
++ EMSG("$_ must be an instance of String");
++ return;
++ }
+ ml_replace(i, (char_u *) STR2CSTR(line), 1);
+ changed();
+ #ifdef SYNTAX_HL