From: Miguel de Icaza Date: Sun, 10 Feb 2008 18:42:58 +0000 (-0000) Subject: 2008-02-10 Miguel de Icaza X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=9f5ae2c07073f62d7db2b1e88ff77393ac20b6e0;p=mono.git 2008-02-10 Miguel de Icaza * DataConverter.cs: Apply fix from Cliff Brake , we were incrementing b.i in two places. svn path=/trunk/mcs/; revision=95396 --- diff --git a/mcs/class/corlib/Mono/ChangeLog b/mcs/class/corlib/Mono/ChangeLog index 8ab91251c9f..2521acda578 100644 --- a/mcs/class/corlib/Mono/ChangeLog +++ b/mcs/class/corlib/Mono/ChangeLog @@ -1,3 +1,8 @@ +2008-02-10 Miguel de Icaza + + * DataConverter.cs: Apply fix from Cliff Brake + , we were incrementing b.i in two places. + 2007-05-30 Miguel de Icaza * DataConverter.cs: Fix the PutBytesLE and PutByteBE, they were diff --git a/mcs/class/corlib/Mono/DataConverter.cs b/mcs/class/corlib/Mono/DataConverter.cs index 34ff82ee1d9..ab1e8e41f8f 100644 --- a/mcs/class/corlib/Mono/DataConverter.cs +++ b/mcs/class/corlib/Mono/DataConverter.cs @@ -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)