diff options
author | Michael Jennings <mej@kainx.org> | 2001-01-10 21:07:11 +0000 |
---|---|---|
committer | Michael Jennings <mej@kainx.org> | 2001-01-10 21:07:11 +0000 |
commit | f5b30dedad54b75cbd4d40e03e211120da574f9d (patch) | |
tree | 5d2076677d0a5826cc118501fb39f723ba54ee14 /src | |
parent | 327208592447d50fc5df3ec34d911d559b2b02eb (diff) | |
download | eterm-f5b30dedad54b75cbd4d40e03e211120da574f9d.tar.gz |
Wed Jan 10 12:58:31 PST 2001 Michael Jennings <mej@eterm.org>
Added a spec file for Linux-Mandrake which was contributed (ages ago)
by Joakim Bodin <bodin@dreamhosted.com>. I don't plan on maintaining
this, so I hope he does. :-)
Also applied a menu change which I am hoping will fix an infinite
recursion bug in the menu system pointed out on SourceForge by
Jonathan S. Keim <jonkeim@princeton.edu>.
SVN revision: 4108
Diffstat (limited to 'src')
-rw-r--r-- | src/menus.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/menus.c b/src/menus.c index 2730ec1..15ffc95 100644 --- a/src/menus.c +++ b/src/menus.c @@ -1019,6 +1019,9 @@ menu_draw(menu_t *menu) for (i = menu_list->nummenus - 1; i >= 0; i--) { menu_t *tmp = menu_list->menus[i]; + if (tmp == menu) { + continue; + } D_MENU((" -> Checking menu \"%s\" to see if it needs to be moved.\n", tmp->title)); if (tmp->state & MENU_STATE_IS_MAPPED) { menu_move(tmp, tmp->x + dx, tmp->y + dy); |