From ce53c4a00a394b49d2f16d3f5039c2071296721b Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Sun, 27 Oct 2019 13:46:58 +0200 Subject: const fix --- src/core/ControllerConfig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') diff --git a/src/core/ControllerConfig.h b/src/core/ControllerConfig.h index e7abb21d..e04f9583 100644 --- a/src/core/ControllerConfig.h +++ b/src/core/ControllerConfig.h @@ -117,7 +117,7 @@ public: DIJOYSTATE2 m_OldState; DIJOYSTATE2 m_NewState; #endif - wchar m_aActionNames[MAX_CONTROLLERACTIONS][40]; + wchar m_aActionNames[MAX_CONTROLLERACTIONS][ACTIONNAME_LENGTH]; bool m_aButtonStates[MAX_BUTTONS]; char _pad1[3]; tControllerConfigBind m_aSettings[MAX_CONTROLLERACTIONS][MAX_CONTROLLERTYPES]; -- cgit v1.2.3