summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby.c b/ruby.c
index 3975580..344007b 100644
--- a/ruby.c
+++ b/ruby.c
@@ -589,7 +589,7 @@ proc_options(argc, argv)
case 'F':
if (*++s) {
- rb_fs = rb_str_new2(s);
+ rb_fs = rb_reg_new(s, strlen(s), 0);
}
break;