Fix segfault

This commit is contained in:
Eric Fischer 2018-08-14 15:38:20 -07:00
parent 31e4ec65ae
commit ff1a28bf0c

View File

@ -438,7 +438,7 @@ void layer_to_geojson(mvt_layer const &layer, unsigned z, unsigned x, unsigned y
mvt_value const &val = layer.decode_property(feat.properties[t + 1]);
state.json_write_string(key);
print_val(feat, layer, val, feat.tags[t + 1], state);
print_val(feat, layer, val, feat.properties[t + 1], state);
}
state.json_end_hash();