diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -129,7 +129,7 @@ process_object(cJSON *json) cJSON_IsTrue(visible)); cJSON *properties = cJSON_GetObjectItem(json, "properties"); - if (!cJSON_IsArray(properties)) + if (!cJSON_IsArray(properties) || cJSON_GetArraySize(properties) == 0) printf("0,0"); else { printf("%d,(const Tiled2cProperty[]){", |