summaryrefslogtreecommitdiffstats
path: root/src/edit.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-05-25 09:44:45 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2013-05-25 09:44:45 +0200
commit54d9013f6bab32c42a4103332824938b26d4f892 (patch)
tree969a3c14597d254078fd010910273e7528dba4e7 /src/edit.c
parent7bc36ba905ec4013ec13cf359f1d24df5ad17662 (diff)
edit.c: Constify another variable
Diffstat (limited to 'src/edit.c')
-rw-r--r--src/edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/edit.c b/src/edit.c
index 58e097e..fe96b98 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -64,7 +64,7 @@ static void interface_editor_ncurses(disk_t *disk)
wprintw(stdscr,"%s", disk->description_short(disk));
while (done==0)
{
- static struct MenuItem menuEditor[]=
+ static const struct MenuItem menuEditor[]=
{
{ 'C', "Change location", "" },
{ 'D', "Dump", "Dump sector" },