diff options
Diffstat (limited to 'capplets/keybindings')
-rw-r--r-- | capplets/keybindings/mate-keybinding-properties.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/capplets/keybindings/mate-keybinding-properties.c b/capplets/keybindings/mate-keybinding-properties.c index 44bdf9e3..b56dd0ac 100644 --- a/capplets/keybindings/mate-keybinding-properties.c +++ b/capplets/keybindings/mate-keybinding-properties.c @@ -861,7 +861,8 @@ static gboolean strv_contains (char **strv, char *str) { - char **p = strv; + char **p; + for (p = strv; *p; p++) if (strcmp (*p, str) == 0) return TRUE; |