Third-Party: Increase max ini section name length

This commit is contained in:
Vicki Pfau 2017-10-13 18:27:05 -07:00
parent e1be18a8ff
commit 22807c6274
2 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@
#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

View File

@ -21,8 +21,8 @@ https://github.com/benhoyt/inih
#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)