summaryrefslogtreecommitdiffstats
path: root/src/chgtypen.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/chgtypen.c
parent969996230f5c3843b0e3f4098b09bce5d69b9837 (diff)
Prefix highligted selection by ">", so screen reader software find the
interface less confusing.
Diffstat (limited to 'src/chgtypen.c')
-rw-r--r--src/chgtypen.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/chgtypen.c b/src/chgtypen.c
index 6c4f013..d5ff4d6 100644
--- a/src/chgtypen.c
+++ b/src/chgtypen.c
@@ -176,11 +176,11 @@ static void change_part_type_ncurses2(const disk_t *disk_car, partition_t *parti
if(i==current_element_num)
{
wattrset(stdscr, A_REVERSE);
- wprintw(stdscr,"%s", part_name[i].name);
+ wprintw(stdscr,">%s", part_name[i].name);
wattroff(stdscr, A_REVERSE);
} else
{
- wprintw(stdscr,"%s", part_name[i].name);
+ wprintw(stdscr," %s", part_name[i].name);
}
}
if(i-offset<INTER_CHGTYPE)
@@ -289,11 +289,11 @@ static void gpt_change_part_type(const disk_t *disk_car, partition_t *partition)
if(i==current_element_num)
{
wattrset(stdscr, A_REVERSE);
- wprintw(stdscr,"%s", gpt_sys_types[i].name);
+ wprintw(stdscr,">%s", gpt_sys_types[i].name);
wattroff(stdscr, A_REVERSE);
} else
{
- wprintw(stdscr,"%s", gpt_sys_types[i].name);
+ wprintw(stdscr," %s", gpt_sys_types[i].name);
}
}
if(i-offset<INTER_CHGTYPE)