From 357153c25547d0e797bbb3d1390a947c4268273e Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sat, 24 Dec 2011 12:41:33 +0100 Subject: Fix warnings found by -Wwrite-strings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Can’t fix all of them; ezxml is a mess :( --- src/ui_dispatch.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui_dispatch.h') diff --git a/src/ui_dispatch.h b/src/ui_dispatch.h index b2b5a36..4a5f791 100644 --- a/src/ui_dispatch.h +++ b/src/ui_dispatch.h @@ -41,9 +41,9 @@ typedef void (*BarKeyShortcutFunc_t) (BarApp_t *, PianoStation_t *, typedef struct { BarUiDispatchContext_t context; BarKeyShortcutFunc_t function; - char *helpText; + const char * const helpText; char defaultKey; - char *configKey; + const char * const configKey; } BarUiDispatchAction_t; #include "ui_act.h" -- cgit v1.2.3