summaryrefslogtreecommitdiffstats
path: root/src/gui_athena.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui_athena.c')
-rw-r--r--src/gui_athena.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_athena.c b/src/gui_athena.c
index 43847404a3..f4aafcd94e 100644
--- a/src/gui_athena.c
+++ b/src/gui_athena.c
@@ -469,7 +469,7 @@ get_toolbar_pixmap(vimmenu_T *menu, Pixmap *sen)
if (menu->icon_builtin || gui_find_bitmap(menu->name, buf, "xpm") == FAIL)
{
if (menu->iconidx >= 0 && menu->iconidx
- < (int)(sizeof(built_in_pixmaps) / sizeof(built_in_pixmaps[0])))
+ < (int)ARRAY_LENGTH(built_in_pixmaps))
xpm = built_in_pixmaps[menu->iconidx];
else
xpm = tb_blank_xpm;