summaryrefslogtreecommitdiffstats
path: root/src/partmac.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2007-11-02 17:14:52 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2007-11-02 17:14:52 +0100
commit249bad4bb750551855f3f1931110d3f493c6f779 (patch)
tree2062db2dc1854e224f64a0a1f7870501ceec40a0 /src/partmac.c
parent6d5421fd222ff503c4645f5e96c1bd895f711468 (diff)
- Use wprintw ncurses function instead of a custom one
- src/file_mov.c: Fix a compilation error if DEBUG_MOV is defined
Diffstat (limited to 'src/partmac.c')
-rw-r--r--src/partmac.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/partmac.c b/src/partmac.c
index bf73857..7c950b0 100644
--- a/src/partmac.c
+++ b/src/partmac.c
@@ -208,15 +208,15 @@ static void write_part_mac_warning_ncurses(void)
WINDOW *window=newwin(0,0,0,0); /* full screen */
aff_copy(window);
wmove(window,7,0);
- wdoprintf(window,"Function write_part_mac not implemented");
+ wprintw(window,"Function write_part_mac not implemented");
log_warning("Function write_part_mac not implemented\n");
wmove(window,8,0);
- wdoprintf(window,"Use pdisk to recreate the missing partition");
+ wprintw(window,"Use pdisk to recreate the missing partition");
wmove(window,9,0);
- wdoprintf(window,"using values displayed by TestDisk");
+ wprintw(window,"using values displayed by TestDisk");
wmove(window,22,0);
wattrset(window, A_REVERSE);
- wdoprintf(window,"[ Abort ]");
+ wprintw(window,"[ Abort ]");
wattroff(window, A_REVERSE);
wrefresh(window);
while(wgetch(window)==ERR);
@@ -327,7 +327,7 @@ static list_part_t *add_partition_mac_ncurses(disk_t *disk_car,list_part_t *list
};
aff_copy(stdscr);
wmove(stdscr,4,0);
- wdoprintf(stdscr,"%s",disk_car->description(disk_car));
+ wprintw(stdscr,"%s",disk_car->description(disk_car));
wmove(stdscr,10, 0);
wclrtoeol(stdscr);
aff_part(stdscr,AFF_PART_SHORT,disk_car,new_partition);