diff options
Diffstat (limited to 're.c')
-rw-r--r-- | re.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3085,7 +3085,7 @@ reg_operand(VALUE s, int check) return rb_sym2str(s); } else { - return (check ? rb_str_to_str : rb_check_string_type)(s); + return check ? rb_str_to_str(s) : rb_check_string_type(s); } } |