diff options
Diffstat (limited to 'dselect/pkglist.cc')
-rw-r--r-- | dselect/pkglist.cc | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/dselect/pkglist.cc b/dselect/pkglist.cc index 53bf43a57..062181953 100644 --- a/dselect/pkglist.cc +++ b/dselect/pkglist.cc @@ -344,15 +344,7 @@ void packagelist::sortmakeheads() { } if (listpad) { - int maxx, maxy; - getmaxyx(listpad,maxx,maxy); - if (nitems > maxy) { - delwin(listpad); - listpad= newpad(nitems+1, total_width); - if (!listpad) ohshite("failed to create larger baselist pad"); - } else if (nitems < maxy) { - werase(listpad); - } + werase(listpad); } sortinplace(); |