wok view syslinux/stuff/extra/readconfig.u @ rev 17561
Up: gnutls 3.3.12
| author | Alexander Medvedev <devl547@gmail.com> |
|---|---|
| date | Fri Feb 06 22:54:07 2015 +0000 (2015-02-06) |
| 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;