diff --git a/ChangeLog b/ChangeLog index 0f4ffab8a..912855a78 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-04-04 Mike Kestner + + * pango/Layout.custom : increment an indexer. thanks to Moritz Balz + for the bug report and candidate patch. + 2004-04-04 Mike Kestner * generator/BoxedGen.cs : DllImport glibsharpglue for value_create. diff --git a/pango/Layout.custom b/pango/Layout.custom index dd826674b..ba57c367e 100644 --- a/pango/Layout.custom +++ b/pango/Layout.custom @@ -19,7 +19,7 @@ public LayoutLine[] Lines { LayoutLine[] result = new LayoutLine [list.Count]; int i = 0; foreach (LayoutLine line in list) - result [i] = line; + result [i++] = line; return result; } }