[svn:parrot] r48727 - trunk/src/string
nwellnhof at svn.parrot.org
nwellnhof at svn.parrot.org
Mon Aug 30 20:16:49 UTC 2010
Author: nwellnhof
Date: Mon Aug 30 20:16:48 2010
New Revision: 48727
URL: https://trac.parrot.org/parrot/changeset/48727
Log:
Fix a bug in Parrot_str_join
Modified:
trunk/src/string/api.c
Modified: trunk/src/string/api.c
==============================================================================
--- trunk/src/string/api.c Mon Aug 30 15:21:31 2010 (r48726)
+++ trunk/src/string/api.c Mon Aug 30 20:16:48 2010 (r48727)
@@ -3300,7 +3300,7 @@
if (s->encoding != e || s->charset != c) {
STRING *new_s = e->to_encoding(interp, s);
chunks[i] = new_s;
- total_length += s->bufused - new_s->bufused;
+ total_length += new_s->bufused - s->bufused;
}
}
}
More information about the parrot-commits
mailing list