summaryrefslogtreecommitdiffstats
path: root/src/dirpart.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-04-07 09:03:21 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2008-04-07 09:03:21 +0200
commita4a280354dc516db44d106ece40e73bb0c49aadf (patch)
treea947a44450faabe2563c9dcfc16b379c85541fec /src/dirpart.c
parent5bc721de8ee62310fdca321e4462192138afd86a (diff)
code cleanup: rename aff_buffer() fixup
Diffstat (limited to 'src/dirpart.c')
-rw-r--r--src/dirpart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dirpart.c b/src/dirpart.c
index aae3514..3bdc14b 100644
--- a/src/dirpart.c
+++ b/src/dirpart.c
@@ -110,7 +110,7 @@ int dir_partition(disk_t *disk_car, const partition_t *partition, const int verb
switch(res)
{
case -2:
- screen_buffer_to_log();
+ screen_buffer_reset();
#ifdef HAVE_NCURSES
aff_copy(window);
wmove(window,4,0);
@@ -127,7 +127,7 @@ int dir_partition(disk_t *disk_car, const partition_t *partition, const int verb
}
break;
case -1:
- screen_buffer_to_log();
+ screen_buffer_reset();
#ifdef HAVE_NCURSES
aff_copy(window);
wmove(window,4,0);