Fixed all colon entries

This commit is contained in:
Scoopta 2019-12-17 00:15:28 -08:00
parent d699827c65
commit 75d33f4ef9

View File

@ -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;