[gnome-settings-daemon] keyboard: Fix consecutive xkb grp: options not being stripped
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] keyboard: Fix consecutive xkb grp: options not being stripped
- Date: Tue, 8 Apr 2014 13:28:12 +0000 (UTC)
commit fc3676f0457789307e49d7abbf8115457a25e479
Author: Роман Донченко <dpb corrigendum ru>
Date: Tue Mar 18 18:35:42 2014 +0100
keyboard: Fix consecutive xkb grp: options not being stripped
https://bugzilla.gnome.org/show_bug.cgi?id=726649
plugins/keyboard/gsd-keyboard-manager.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plugins/keyboard/gsd-keyboard-manager.c b/plugins/keyboard/gsd-keyboard-manager.c
index 7e876fe..d8ff930 100644
--- a/plugins/keyboard/gsd-keyboard-manager.c
+++ b/plugins/keyboard/gsd-keyboard-manager.c
@@ -875,8 +875,9 @@ strip_xkb_option (gchar **options,
g_free (*p);
*p = options[last];
options[last] = NULL;
+ } else {
+ p += 1;
}
- p += 1;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]