reformatting: cJSONUtils_GeneratePatches

This commit is contained in:
Max Bruckner 2016-10-17 17:41:50 +07:00
parent 8879ed5dbc
commit ec9d1cfedb

View File

@ -603,13 +603,13 @@ static void cJSONUtils_CompareToPatch(cJSON *patches, const char *path, cJSON *f
}
}
cJSON* cJSONUtils_GeneratePatches(cJSON *from,cJSON *to)
cJSON* cJSONUtils_GeneratePatches(cJSON *from, cJSON *to)
{
cJSON *patches=cJSON_CreateArray();
cJSONUtils_CompareToPatch(patches,"",from,to);
return patches;
}
cJSON *patches = cJSON_CreateArray();
cJSONUtils_CompareToPatch(patches, "", from, to);
return patches;
}
static cJSON *cJSONUtils_SortList(cJSON *list)
{