[3805] MacRuby/trunk/string.c
Revision: 3805 http://trac.macosforge.org/projects/ruby/changeset/3805 Author: lsansonetti@apple.com Date: 2010-03-18 01:04:59 -0700 (Thu, 18 Mar 2010) Log Message: ----------- ditto Modified Paths: -------------- MacRuby/trunk/string.c Modified: MacRuby/trunk/string.c =================================================================== --- MacRuby/trunk/string.c 2010-03-18 08:01:14 UTC (rev 3804) +++ MacRuby/trunk/string.c 2010-03-18 08:04:59 UTC (rev 3805) @@ -1245,7 +1245,7 @@ VALUE mr_enc_s_is_compatible(VALUE klass, SEL sel, VALUE str1, VALUE str2) { - rb_encoding_t *encoding = str_compatible_encoding(RSTR(str1), + rb_encoding_t *encoding = str_compatible_encoding(str_need_string(str1), str_need_string(str2)); if (encoding == NULL) { return Qnil;
participants (1)
-
source_changes@macosforge.org