use strcasecmp when comparing

ulab-original
jsorg71 19 years ago
parent eef98128fc
commit f9b3faac0e

@ -203,7 +203,7 @@ file_read_section(int fd, char* section, struct list* names,
} }
else if (c == ']') else if (c == ']')
{ {
if (g_strncasecmp(section, text, 255) == 0) if (g_strcasecmp(section, text) == 0)
{ {
file_read_line(s, text); file_read_line(s, text);
while (file_read_line(s, text) == 0) while (file_read_line(s, text) == 0)

Loading…
Cancel
Save