Do the more common check first. Forgot to swap these max/min pairs.

This commit is contained in:
Eric Fischer
2016-06-01 17:09:20 -07:00
parent a504840bd5
commit de46cfa798
2 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -491,11 +491,11 @@ void parse_json(json_pull *jp, const char *reading, volatile long long *layer_se
}
}
if (strcmp(type->string, "FeatureCollection") == 0) {
check_crs(j, reading);
}
if (strcmp(type->string, "Feature") != 0) {
if (strcmp(type->string, "FeatureCollection") == 0) {
check_crs(j, reading);
}
continue;
}