From: Karel Zak Date: Wed, 22 Jul 2015 12:28:33 +0000 (+0200) Subject: cfdisk: make sure that extra info is refreshed/removed X-Git-Tag: v2.27-rc1~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbcafba2bbfad34efff3c4e0b80038f1dd6646b3;p=thirdparty%2Futil-linux.git cfdisk: make sure that extra info is refreshed/removed For example when you move from a Partition to the FreeSapce then we need to remove old extra info and draw nothing. Signed-off-by: Karel Zak --- diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c index aaa55ffc5e..11a087ee78 100644 --- a/disk-utils/cfdisk.c +++ b/disk-utils/cfdisk.c @@ -1380,8 +1380,10 @@ static int ui_draw_extra(struct cfdisk *cf) assert(ln->extra); - if (cf->act_win) + if (cf->act_win) { wclear(cf->act_win); + touchwin(stdscr); + } if (scols_table_is_empty(ln->extra)) { extra_prepare_data(cf);