aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-popup-menu.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-08-09 15:24:36 +0800
committerChris Lahey <clahey@src.gnome.org>2000-08-09 15:24:36 +0800
commit733a8c4ccd84a8dafc2377db5bfe25bbcc3f23cb (patch)
treeb001459023c1e7d95cc7ddcda80dd488a48f535b /widgets/misc/e-popup-menu.c
parent96569f50b15326cc6f48447b866391798a984d3a (diff)
downloadgsoc2013-evolution-733a8c4ccd84a8dafc2377db5bfe25bbcc3f23cb.tar.gz
gsoc2013-evolution-733a8c4ccd84a8dafc2377db5bfe25bbcc3f23cb.tar.zst
gsoc2013-evolution-733a8c4ccd84a8dafc2377db5bfe25bbcc3f23cb.zip
Fix the bug where it truncates the last item
2000-08-09 Christopher James Lahey <clahey@helixcode.com> * e-popup-menu.c: Fix the bug where it truncates the last item svn path=/trunk/; revision=4648
Diffstat (limited to 'widgets/misc/e-popup-menu.c')
-rw-r--r--widgets/misc/e-popup-menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/misc/e-popup-menu.c b/widgets/misc/e-popup-menu.c
index e7423e40f0..3fb382ae20 100644
--- a/widgets/misc/e-popup-menu.c
+++ b/widgets/misc/e-popup-menu.c
@@ -70,7 +70,7 @@ e_popup_menu_create (EPopupMenu *menu_list, int disable_mask, int hide_mask, voi
}
}
- for (i = 0; i < last_non_seperator; i++) {
+ for (i = 0; i <= last_non_seperator; i++) {
GtkWidget *item;
gboolean seperator;