[libgee] Fix Gee.ArrayQueue.Iterator.foreach



commit d568aa14a606c6f2695f44ad40d46df407024d93
Author: Maciej Piechotka <uzytkownik2 gmail com>
Date:   Tue Jul 16 00:44:11 2013 +0200

    Fix Gee.ArrayQueue.Iterator.foreach

 gee/arrayqueue.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gee/arrayqueue.vala b/gee/arrayqueue.vala
index 9775df2..9806a65 100644
--- a/gee/arrayqueue.vala
+++ b/gee/arrayqueue.vala
@@ -324,6 +324,7 @@ public class Gee.ArrayQueue<G> : Gee.AbstractQueue<G>, Deque<G> {
                                        return false;
                                }
                        }
+                       _offset = _queue._length - 1;
                        return true;
                }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]