[svn:parrot] r46248 - trunk/src

darbelo at svn.parrot.org darbelo at svn.parrot.org
Mon May 3 22:32:14 UTC 2010


Author: darbelo
Date: Mon May  3 22:32:14 2010
New Revision: 46248
URL: https://trac.parrot.org/parrot/changeset/46248

Log:
Remove '#if 0' from src/spf_render.c

Modified:
   trunk/src/spf_render.c

Modified: trunk/src/spf_render.c
==============================================================================
--- trunk/src/spf_render.c	Mon May  3 22:32:03 2010	(r46247)
+++ trunk/src/spf_render.c	Mon May  3 22:32:14 2010	(r46248)
@@ -159,20 +159,6 @@
             len += Parrot_str_byte_length(interp, prefix);
         }
         /* XXX sharp + fill ??? */
-
-#if 0
-        /* precision - only for floats, which is handled elsewhere */
-        if (info->flags & FLAG_PREC) {
-            info->flags |= FLAG_WIDTH;
-            if (string_ord(interp, str, 0) == '-' ||
-                    string_ord(interp, str, 0) == '+') {
-                info->width = info->prec + 1;
-            }
-            else {
-                info->width = info->prec;
-            }
-        }
-#endif
     }
     else {
         /* string precision */


More information about the parrot-commits mailing list