[california] Fix bug introduced in commit 3c945c



commit 1585556a3755a545b2cd50f141522a88f6b92a99
Author: Jim Nelson <jim yorba org>
Date:   Thu Mar 20 17:01:08 2014 -0700

    Fix bug introduced in commit 3c945c
    
    Refactoring of foreach -> for loop retained counter increment.

 src/view/month/month-cell.vala |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/view/month/month-cell.vala b/src/view/month/month-cell.vala
index ba732a4..fd470e9 100644
--- a/src/view/month/month-cell.vala
+++ b/src/view/month/month-cell.vala
@@ -327,8 +327,6 @@ public class Cell : Gtk.EventBox {
             int y = get_line_top_y(line_number);
             if (point.y >= y && point.y < (y + line_height_px))
                 return line_to_event.get(line_number);
-            
-            line_number++;
         }
         
         return null;


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