# | Line 1 | Line 1 | |
---|---|---|
1 | #include <stdio.h> | |
2 | #include <stdlib.h> | |
3 | < | #include <stdbool.h> |
3 | > | #include "bool.h" |
4 | #include <string.h> | |
5 | #include <ctype.h> | |
6 | ||
# | Line 112 | Line 112 | bool inifile_read(const char* filename, | |
112 | ||
113 | if (inisection[0]) | |
114 | free(inisection); | |
115 | < | inisection = strdup(readptr + 1); // Skip the first [ |
115 | > | inisection = _strdup(readptr + 1); // Skip the first [ |
116 | newsection = true; | |
117 | } | |
118 | else // It's a value. |
– | Removed lines |
+ | Added lines |
< | Changed lines (old) |
> | Changed lines (new) |