diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2012-10-09 11:59:12 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2012-10-09 11:59:12 -0500 |
commit | 5c9f6467b9a8573439d1bee52a358678b10e5805 (patch) | |
tree | aef4ce95a7dd58ad6e44a57f2d161fb55e91cb36 | |
parent | f9413135057b326177f6ae239a70ab10c02af9de (diff) | |
download | ayatana-indicator-datetime-5c9f6467b9a8573439d1bee52a358678b10e5805.tar.gz ayatana-indicator-datetime-5c9f6467b9a8573439d1bee52a358678b10e5805.tar.bz2 ayatana-indicator-datetime-5c9f6467b9a8573439d1bee52a358678b10e5805.zip |
fix off-by-one error in the appointments dbusmenuitem array
-rw-r--r-- | src/datetime-service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/datetime-service.c b/src/datetime-service.c index f0c45c0..b34c23e 100644 --- a/src/datetime-service.c +++ b/src/datetime-service.c @@ -833,8 +833,8 @@ update_appointment_menu_items (gpointer unused) if (i >= MAX_APPOINTMENT_MENUITEMS) continue; - i++; item = appointments[i]; + i++; /* Remove the icon as we might not replace it on error */ dbusmenu_menuitem_property_remove(item, APPOINTMENT_MENUITEM_PROP_ICON); |