mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-02-24 10:44:51 +00:00
Fix formatting
This commit is contained in:
parent
cde1e60603
commit
725ea71e57
@ -403,7 +403,7 @@ long long addpool(FILE *poolfile, long long *poolpos, char *s) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
*sp = malloc(sizeof(struct stringpool));
|
*sp = malloc(sizeof(struct stringpool));
|
||||||
(*sp)->s = strdup(s); // XXX really should be mapped from the pool itself
|
(*sp)->s = strdup(s); // XXX really should be mapped from the pool itself
|
||||||
(*sp)->left = NULL;
|
(*sp)->left = NULL;
|
||||||
(*sp)->right = NULL;
|
(*sp)->right = NULL;
|
||||||
(*sp)->off = *poolpos;
|
(*sp)->off = *poolpos;
|
||||||
|
8
tile.cc
8
tile.cc
@ -187,13 +187,13 @@ int coalindexcmp(const struct coalesce *c1, const struct coalesce *c2) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
struct pool_val *retrieve_string(char **f, struct pool *p, int type, char *stringpool) {
|
struct pool_val *retrieve_string(char **f, struct pool *p, int type, char *stringpool) {
|
||||||
struct pool_val *ret;
|
struct pool_val *ret;
|
||||||
long long off;
|
long long off;
|
||||||
|
|
||||||
deserialize_long_long(f, &off);
|
deserialize_long_long(f, &off);
|
||||||
ret = pool(p, stringpool + off, type);
|
ret = pool(p, stringpool + off, type);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
void decode_meta(char **meta, char *stringpool, struct pool *keys, struct pool *values, struct pool *file_keys, std::vector<int> *intmeta, char *only) {
|
void decode_meta(char **meta, char *stringpool, struct pool *keys, struct pool *values, struct pool *file_keys, std::vector<int> *intmeta, char *only) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user