From 822c71943f6a06bc2599a0478ea41b6d413648d6 Mon Sep 17 00:00:00 2001 From: Carl Reinke Date: Sun, 23 Aug 2020 13:15:36 -0600 Subject: [PATCH] Fix destruct default key configuration strings --- src/destruct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/destruct.c b/src/destruct.c index 57b5ca63..92add617 100644 --- a/src/destruct.c +++ b/src/destruct.c @@ -470,7 +470,7 @@ static void load_destruct_config( Config *config_ ) // set defaults for (unsigned int i = 0; i < COUNTOF(defaultKeyConfig[p][k]); ++i) if (defaultKeyConfig[p][k][i] != SDL_SCANCODE_UNKNOWN) - config_add_value(option, SDL_GetKeyName(defaultKeyConfig[p][k][i])); + config_add_value(option, SDL_GetScancodeName(defaultKeyConfig[p][k][i])); } } }