Skip to content

Commit

Permalink
fixed an assertion
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/branches/icu@3654 23306eb0-4c56-4727-a40e-e92c0eb68959
  • Loading branch information
lrz committed Feb 28, 2010
1 parent ac0c358 commit 2194947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion string.c
Original file line number Diff line number Diff line change
Expand Up @@ -3665,7 +3665,7 @@ void
bstr_set_length(VALUE str, long len)
{
assert(IS_RSTR(str));
assert(len < RSTR(str)->capacity_in_bytes);
assert(len <= RSTR(str)->capacity_in_bytes);
RSTR(str)->length_in_bytes = len;
}

Expand Down

0 comments on commit 2194947

Please sign in to comment.