diff lphobos/std/stdio.d @ 23:77e3d1ddae3f trunk

[svn r27] * Fixed bug in aggregate field lookup. * Fixed structs with no fields. * Added support for NegExp as in -x.
author lindquist
date Thu, 04 Oct 2007 09:24:15 +0200
parents a6360e68134a
children 77cdca8c210f
line wrap: on
line diff
--- a/lphobos/std/stdio.d	Thu Oct 04 07:35:02 2007 +0200
+++ b/lphobos/std/stdio.d	Thu Oct 04 09:24:15 2007 +0200
@@ -9,7 +9,7 @@
   static if(isArray!(T)) {
     _writef('[');
     if (t.length) _writef(t[0]);
-    for (int i=1; i<t.lengthi; ++i) { _writef(','); _writef(t[i]); }
+    for (int i=1; i<t.length; ++i) { _writef(','); _writef(t[i]); }
     _writef(']');
   } else
   static if(is(T==int)) printf("%i", t); else