summaryrefslogtreecommitdiffstats
path: root/src/phrecn.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2010-05-21 08:47:38 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2010-05-21 08:47:38 +0200
commit1041c240cd39711ca664386740e7cfb699819cb7 (patch)
tree4700efa276e48a3a725af5c2e5a6393221bdabce /src/phrecn.c
parent969996230f5c3843b0e3f4098b09bce5d69b9837 (diff)
Prefix highligted selection by ">", so screen reader software find the
interface less confusing.
Diffstat (limited to 'src/phrecn.c')
-rw-r--r--src/phrecn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/phrecn.c b/src/phrecn.c
index c4ce95b..74d60ab 100644
--- a/src/phrecn.c
+++ b/src/phrecn.c
@@ -518,7 +518,7 @@ static void recovery_finished(disk_t *disk, const partition_t *partition, const
wmove(stdscr,22,0);
wclrtoeol(stdscr);
wattrset(stdscr, A_REVERSE);
- wprintw(stdscr,"[ Quit ]");
+ waddstr(stdscr,"[ Quit ]");
wattroff(stdscr, A_REVERSE);
wrefresh(stdscr);
log_flush();
@@ -1193,7 +1193,7 @@ static void interface_file_select_ncurses(file_enable_t *files_enable)
if(i==current_element_num)
{
wattrset(stdscr, A_REVERSE);
- wprintw(stdscr,"[%c] %-4s %s", (files_enable[i].enable==0?' ':'X'),
+ wprintw(stdscr,">[%c] %-4s %s", (files_enable[i].enable==0?' ':'X'),
(files_enable[i].file_hint->extension!=NULL?
files_enable[i].file_hint->extension:""),
files_enable[i].file_hint->description);
@@ -1201,7 +1201,7 @@ static void interface_file_select_ncurses(file_enable_t *files_enable)
}
else
{
- wprintw(stdscr,"[%c] %-4s %s", (files_enable[i].enable==0?' ':'X'),
+ wprintw(stdscr," [%c] %-4s %s", (files_enable[i].enable==0?' ':'X'),
(files_enable[i].file_hint->extension!=NULL?
files_enable[i].file_hint->extension:""),
files_enable[i].file_hint->description);