diff --git a/WPrefs.app/Expert.c b/WPrefs.app/Expert.c index d82bc6ff..7cb85f34 100644 --- a/WPrefs.app/Expert.c +++ b/WPrefs.app/Expert.c @@ -34,7 +34,7 @@ static const struct { OPTION_USERDEF } class; - char *op_name; /* The identifier for the option in the config file */ + const char *op_name; /* The identifier for the option in the config file */ } expert_options[] = { diff --git a/WPrefs.app/KeyboardShortcuts.c b/WPrefs.app/KeyboardShortcuts.c index d5b2ce18..ef486568 100644 --- a/WPrefs.app/KeyboardShortcuts.c +++ b/WPrefs.app/KeyboardShortcuts.c @@ -66,11 +66,11 @@ typedef struct _Panel { * Second is the text displayed to the user */ static const struct { + const char *key; /* - * Fixme: these strings should be 'const', but 'GetStringForKey' - * and 'WMAddListItem' do not allow us to do so + * Fixme: this string should be 'const', but 'WMAddListItem' + * do not allow us to do so */ - char *key; char *title; } keyOptions[] = { { "RootMenuKey", N_("Open applications menu") },