2008-02-10 Miguel de Icaza <miguel@novell.com>
authorMiguel de Icaza <miguel@gnome.org>
Sun, 10 Feb 2008 18:42:58 +0000 (18:42 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Sun, 10 Feb 2008 18:42:58 +0000 (18:42 -0000)
* DataConverter.cs: Apply fix from Cliff Brake
<cliff.brake@gmail.com>, we were incrementing b.i in two places.

svn path=/trunk/mcs/; revision=95396

mcs/class/corlib/Mono/ChangeLog
mcs/class/corlib/Mono/DataConverter.cs

index 8ab91251c9f3da0f87e4bf8f517c9c8bffc13ed5..2521acda578cd83b6b308f7ac6aa3934248a8cbc 100644 (file)
@@ -1,3 +1,8 @@
+2008-02-10  Miguel de Icaza  <miguel@novell.com>
+
+       * DataConverter.cs: Apply fix from Cliff Brake
+       <cliff.brake@gmail.com>, we were incrementing b.i in two places. 
+
 2007-05-30  Miguel de Icaza  <miguel@novell.com>
 
        * DataConverter.cs: Fix the PutBytesLE and PutByteBE, they were
index 34ff82ee1d9b02c98a6f6da8078a4f6ada0218f2..ab1e8e41f8f0e35bad469a1365fc3a32978c9b50 100644 (file)
@@ -309,7 +309,7 @@ namespace Mono {
                        IEnumerator enumerator = args.GetEnumerator ();
                        bool ok = enumerator.MoveNext ();
 
-                       for (b.i = 0; b.i < description.Length; b.i++){
+                       for (b.i = 0; b.i < description.Length; ){
                                object oarg;
 
                                if (ok)