wok view syslinux/stuff/extra/readconfig.u @ rev 17902

gtk-clearlooks:fix terminal errors with default themes. mc: fix lzma.
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Apr 03 21:04:30 2015 +0200 (2015-04-03)
parents
children 922ed71c2f6d
line source
1 --- com32/menu/readconfig.c
2 +++ com32/menu/readconfig.c
3 @@ -874,6 +874,12 @@
4 }
5 } else if (looking_at(p, "start")) {
6 start_menu = m;
7 + } else if ((ep = looking_at(p, "startifnoarg"))) {
8 + size_t size;
9 + int slot;
10 + slot = strtoul(ep, &ep, 0);
11 + if (!syslinux_getadv(slot, &size))
12 + start_menu = m;
13 } else if (looking_at(p, "help")) {
14 if (ld.label) {
15 ld.action = MA_HELP;