author | dominik |
Wed, 05 Jan 2005 11:19:57 +0000 | |
changeset 898 | b3c0e2240239 |
parent 897 | 42412d5ecc64 |
child 899 | 93b0626ddfce |
settings.c | file | annotate | diff | comparison | revisions |
--- a/settings.c Wed Jan 05 10:47:59 2005 +0000 +++ b/settings.c Wed Jan 05 11:19:57 2005 +0000 @@ -962,7 +962,7 @@ if (!group) return; for (i = 0; i != len; i++) { - if (list[i] == '\0') continue; + if (list[i] == NULL || list[i][0] == '\0') continue; if (first) { // add first item to the head of the group item = ini_item_alloc(group, list[i], strlen(list[i]));