summaryrefslogtreecommitdiff
path: root/xcalc.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2010-11-20 11:12:55 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2010-11-20 11:12:55 -0800
commit4ac002703c8bda62f768f581e1ec81bbf7446365 (patch)
tree361657cfecd46015788d64ffd1f2b8d75847d84f /xcalc.c
parent0d7aa29c6209391cf8307c19b5cf84528f8c2184 (diff)
create_keypad: declare list of button name strings as const
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xcalc.c')
-rw-r--r--xcalc.c2
1 files changed, 1 insertions, 1 deletions
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",