Fixed all colon entries
This commit is contained in:
@@ -116,6 +116,9 @@ static char* parse_images(WofiPropertyBox* box, const char* text, bool create_wi
|
|||||||
char* save_ptr;
|
char* save_ptr;
|
||||||
char* str = strtok_r(tmp, ":", &save_ptr);
|
char* str = strtok_r(tmp, ":", &save_ptr);
|
||||||
do {
|
do {
|
||||||
|
if(str == NULL) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
if(map_contains(mode_map, str) || data) {
|
if(map_contains(mode_map, str) || data) {
|
||||||
struct node* node = malloc(sizeof(struct node));
|
struct node* node = malloc(sizeof(struct node));
|
||||||
node->str = str;
|
node->str = str;
|
||||||
|
Reference in New Issue
Block a user