libbb/lineedit: fix the case when we configured history to have 0 lines
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 27 Sep 2009 00:48:53 +0000 (02:48 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 27 Sep 2009 00:48:53 +0000 (02:48 +0200)
commitdb9c57eed1db2fd53bfd653efcf19210e5b14080
tree2ec2bccdd5186d8c27cf60fa659ca39ca7396ba8
parente74aaf93854b9453b9949954aec77710b257d8b6
libbb/lineedit: fix the case when we configured history to have 0 lines

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/lineedit.c
shell/ash.c