[libmanette] mapping-manager: Store the full mapping string
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libmanette] mapping-manager: Store the full mapping string
- Date: Sun, 22 Nov 2020 08:23:16 +0000 (UTC)
commit b94f25b2fbf8d3f37df19b6498cb7b0710e6c379
Author: Adrien Plazas <kekun plazas laposte net>
Date: Sat Nov 21 17:09:50 2020 +0100
mapping-manager: Store the full mapping string
This will allow the mapping object to always expect a full mapping
string, with the GUID and the gamepad name.
src/manette-mapping-manager.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/manette-mapping-manager.c b/src/manette-mapping-manager.c
index 5f2adec..63207ba 100644
--- a/src/manette-mapping-manager.c
+++ b/src/manette-mapping-manager.c
@@ -73,7 +73,7 @@ add_mapping (ManetteMappingManager *self,
g_strdup (split[1]));
g_hash_table_insert (mappings,
g_strdup (split[0]),
- g_strdup (split[2]));
+ g_strdup (mapping_string));
g_strfreev (split);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]