From 4ac002703c8bda62f768f581e1ec81bbf7446365 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 20 Nov 2010 11:12:55 -0800 Subject: create_keypad: declare list of button name strings as const Signed-off-by: Alan Coopersmith --- xcalc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xcalc.c b/xcalc.c index ff1e6de..3954737 100644 --- a/xcalc.c +++ b/xcalc.c @@ -232,7 +232,7 @@ static void create_display(Widget parent) static void create_keypad(Widget parent) { - static char *Keyboard[] = { + static const char *Keyboard[] = { "button1", "button2", "button3", "button4", "button5", "button6", "button7", "button8", "button9", "button10", "button11","button12","button13","button14","button15", -- cgit v1.2.3