From 941d0850dea8517046f0fe861998f8b397fc9d89 Mon Sep 17 00:00:00 2001 From: OBattler Date: Fri, 29 Aug 2025 22:47:01 +0200 Subject: [PATCH] Removed the prefixes. --- src/config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.c b/src/config.c index 58d573d1a..186b13a68 100644 --- a/src/config.c +++ b/src/config.c @@ -162,7 +162,7 @@ load_scan_code_mappings(void) char temp[512]; for (int c = 0; c < 768; c++) { - sprintf(temp, "scan_code_mapping_%03X", c); + sprintf(temp, "%03X", c); int mapping = ini_section_get_hex12(cat, temp, c); @@ -2306,7 +2306,7 @@ save_scan_code_mappings(void) char temp[512]; for (int c = 0; c < 768; c++) { - sprintf(temp, "scan_code_mapping_%03X", c); + sprintf(temp, "%03X", c); if (scancode_config_map[c] == c) ini_section_delete_var(cat, temp);