mirror of https://github.com/mgba-emu/mgba.git
Third-Party: Increase max ini section name length
This commit is contained in:
parent
e1be18a8ff
commit
22807c6274
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue