From 66368a189dea7ab666cb4089ee30b6ba04ba5132 Mon Sep 17 00:00:00 2001 From: rbuj Date: Sun, 16 Jun 2019 13:21:30 +0200 Subject: Remove trailing whitespaces find . -regextype posix-extended -regex '.*\.(c|h|ac)' -exec sed --in-place 's/[[:space:]]\+$//' {} \+ --- capplets/keyboard/mate-keyboard-properties-xkbot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'capplets/keyboard/mate-keyboard-properties-xkbot.c') diff --git a/capplets/keyboard/mate-keyboard-properties-xkbot.c b/capplets/keyboard/mate-keyboard-properties-xkbot.c index e67fcf86..cc161b62 100644 --- a/capplets/keyboard/mate-keyboard-properties-xkbot.c +++ b/capplets/keyboard/mate-keyboard-properties-xkbot.c @@ -63,7 +63,7 @@ xkb_options_get_selected_list (void) if (retval == NULL) { if (initial_config.options != NULL) { for (i = 0; initial_config.options[i] != NULL; i++) - retval = + retval = g_slist_prepend (retval, g_strdup (initial_config.options[i])); } retval = g_slist_reverse (retval); -- cgit v1.2.1