From 54d9013f6bab32c42a4103332824938b26d4f892 Mon Sep 17 00:00:00 2001 From: Christophe Grenier Date: Sat, 25 May 2013 09:44:45 +0200 Subject: [PATCH] edit.c: Constify another variable --- src/edit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/edit.c b/src/edit.c index 58e097e2..fe96b987 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" },