diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2012-10-24 16:45:56 +0200 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2012-10-24 16:45:56 +0200 |
commit | ef2b5d3c80fc35a11e165c5751c63d8763993e3a (patch) | |
tree | 61a40f9404911d453fd542f0b44e7bb9727110fc /src | |
parent | 1fa395e1c85b7523c1f57410329e12569c0c7aa2 (diff) | |
parent | 5c9f6467b9a8573439d1bee52a358678b10e5805 (diff) | |
download | ayatana-indicator-datetime-ef2b5d3c80fc35a11e165c5751c63d8763993e3a.tar.gz ayatana-indicator-datetime-ef2b5d3c80fc35a11e165c5751c63d8763993e3a.tar.bz2 ayatana-indicator-datetime-ef2b5d3c80fc35a11e165c5751c63d8763993e3a.zip |
fix off-by-one error in the appointments dbusmenuitem array
Diffstat (limited to 'src')
-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); |