Skip to content
Snippets Groups Projects
Commit ce50d4e2 authored by deuce's avatar deuce
Browse files

Use proper macro for section char.

parent 4c0e0679
No related branches found
No related tags found
No related merge requests found
......@@ -308,7 +308,7 @@ str_list_t iniGetSection(str_list_t list, const char *section)
for(i++;list[i]!=NULL;i++) {
p=list[i];
SKIP_WHITESPACE(p);
if(*p=='[')
if(*p==INI_OPEN_SECTION_CHAR)
break;
strListPush(&retval, list[i]);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment