[libgee/0.6] PriorityQueue: build fix for wrong variable name



commit d63b47b54716b47a6644676020182c124f056b5a
Author: Diego Escalante Urrelo <descalante igalia com>
Date:   Fri Oct 7 01:07:12 2011 -0500

    PriorityQueue: build fix for wrong variable name
    
    Bug #661153

 gee/priorityqueue.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gee/priorityqueue.vala b/gee/priorityqueue.vala
index e1c6796..6c45238 100644
--- a/gee/priorityqueue.vala
+++ b/gee/priorityqueue.vala
@@ -663,7 +663,7 @@ public class Gee.PriorityQueue<G> : Gee.AbstractQueue<G> {
 				_a[degree] = null;
 
 				int i = _a.length - 1;
-				while (a >= 0 && _a[i] == null) {
+				while (i >= 0 && _a[i] == null) {
 					i--;
 				}
 				_a.resize (i + 1);



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