Third-Party: Increase max ini section name length
Vicki Pfau vi@endrift.com
Fri, 13 Oct 2017 18:27:05 -0700
2 files changed,
3 insertions(+),
3 deletions(-)
M
src/core/input.c
→
src/core/input.c
@@ -11,7 +11,7 @@ #include <mgba-util/vector.h>
#include <inttypes.h> -#define SECTION_NAME_MAX 50 +#define SECTION_NAME_MAX 128 #define KEY_NAME_MAX 32 #define KEY_VALUE_MAX 16 #define AXIS_INFO_MAX 12
M
src/third-party/inih/ini.c
→
src/third-party/inih/ini.c
@@ -21,8 +21,8 @@ #if !INI_USE_STACK
#include <stdlib.h> #endif -#define MAX_SECTION 50 -#define MAX_NAME 50 +#define MAX_SECTION 128 +#define MAX_NAME 128 /* Strip whitespace chars off end of given string, in place. Return s. */ static char* rstrip(char* s)