to always set 'currmenu', so that we can rely on it.
* src/*.c (get_shortcut): Now that 'currmenu' is really global,
stop passing it around.
+ * src/help.c (help_init), src/winio.c (bottombars): There are
+ no tagless functions, so there is no need to check.
2014-06-30 Mark Majeres <mark@engine12.com>
* src/cut.c, src/global.c, src/nano.c: Rename 'cut_till_end' to
if ((f->menus & currmenu) == 0)
continue;
- if (!f->desc || f->desc[0] == '\0')
- continue;
-
/* Let's simply show the first two shortcuts from the list. */
for (s = sclist, scsfound = 0; s != NULL; s = s->next) {
if ((f->menus & menu) == 0)
continue;
- if (!f->desc || strlen(f->desc) == 0)
- continue;
-
#ifdef DEBUG
fprintf(stderr, "found one! f->menus = %x, desc = \"%s\"\n", f->menus, f->desc);
#endif