[svn:parrot] r46180 - branches/codestring/src/pmc

coke at svn.parrot.org coke at svn.parrot.org
Fri Apr 30 06:28:16 UTC 2010


Author: coke
Date: Fri Apr 30 06:28:15 2010
New Revision: 46180
URL: https://trac.parrot.org/parrot/changeset/46180

Log:
fix typo. (no, still doesn't help with burning ACTIVE_BUFFERS when using
codestring.emit)

Modified:
   branches/codestring/src/pmc/resizablestringarray.pmc

Modified: branches/codestring/src/pmc/resizablestringarray.pmc
==============================================================================
--- branches/codestring/src/pmc/resizablestringarray.pmc	Fri Apr 30 06:21:23 2010	(r46179)
+++ branches/codestring/src/pmc/resizablestringarray.pmc	Fri Apr 30 06:28:15 2010	(r46180)
@@ -225,8 +225,8 @@
             GET_ATTR_size(interp, SELF, old_size);
 
             if (new_size > old_size) {
-                min = new_size;
-                max = old_size;
+                min = old_size;
+                max = new_size;
             }
             else if (new_size < old_size) {
                 min = new_size;


More information about the parrot-commits mailing list