readconfig: Don't display "(null)" labels when hitting TAB
authorMatt Fleming <matt.fleming@intel.com>
Thu, 28 Feb 2013 15:07:19 +0000 (15:07 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Thu, 7 Mar 2013 12:17:55 +0000 (12:17 +0000)
commit557ad5544fbaa893936d31e44038c3570030a798
treee914157c7719457bdcbdbd99904ff7c4ae4e5542
parent5447ef821c24b526079ef785d2454ed0efff3e2b
readconfig: Don't display "(null)" labels when hitting TAB

It is entirely legitimate for a menu entry to have a NULL label or
displayname. Since these entries are not used for execution, skip
displaying them in print_labels() when hitting the TAB key.

Reported-by: Bernd Blaauw <bblaauw@home.nl>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
com32/elflink/ldlinux/readconfig.c