beagle r4913 - branches/beagle-abock-branch/beagled/BansheeQueryable



Author: gburt
Date: Fri Mar  6 22:52:17 2009
New Revision: 4913
URL: http://svn.gnome.org/viewvc/beagle?rev=4913&view=rev

Log:
Fix off by one bug that caused unnecessary indexing

Modified:
   branches/beagle-abock-branch/beagled/BansheeQueryable/BansheeIndexableGenerator.cs

Modified: branches/beagle-abock-branch/beagled/BansheeQueryable/BansheeIndexableGenerator.cs
==============================================================================
--- branches/beagle-abock-branch/beagled/BansheeQueryable/BansheeIndexableGenerator.cs	(original)
+++ branches/beagle-abock-branch/beagled/BansheeQueryable/BansheeIndexableGenerator.cs	Fri Mar  6 22:52:17 2009
@@ -76,7 +76,7 @@
         
         public bool HasNextIndexable ()
         {
-            if (current_index <= index_results.Length) {
+            if (current_index < index_results.Length) {
                 return true;
             }
             



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