nconfig: Fix segfault when menu is empty
authorAndrej Gelenberg <andrej.gelenberg@udo.edu>
Mon, 2 Aug 2010 09:59:31 +0000 (11:59 +0200)
committerMichal Marek <mmarek@suse.cz>
Thu, 12 Aug 2010 22:34:15 +0000 (00:34 +0200)
commit866af407dad3f2202e5d5d717ebd6156ccc33cdd
tree56e902d33f8e3dd814053f91bfd3c0a34aa8db6d
parenta64b44ead002ba15fdf841106a6fd344b8dd46d8
nconfig: Fix segfault when menu is empty

nconf crush with segfault if press right arrow in empty menu.

Signed-off-by: Andrej Gelenberg <andrej.gelenberg@udo.edu>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/nconf.c