mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-02-02 01:08:14 +00:00
Fix the typo I made in the conversion to std::string
This commit is contained in:
parent
f9a007e8c3
commit
cef6b022dd
@ -358,7 +358,7 @@ inline void Prettify(std::string &buffer, int length, int k) {
|
|||||||
const int offset = 2 - kk;
|
const int offset = 2 - kk;
|
||||||
memmove(&buffer[offset], &buffer[0], length);
|
memmove(&buffer[offset], &buffer[0], length);
|
||||||
buffer.insert(buffer.begin(), '0');
|
buffer.insert(buffer.begin(), '0');
|
||||||
buffer.insert(buffer.begin() + 1, '0');
|
buffer.insert(buffer.begin() + 1, '.');
|
||||||
for (int i = 2; i < offset; i++)
|
for (int i = 2; i < offset; i++)
|
||||||
buffer.insert(buffer.begin() + 2, '0');
|
buffer.insert(buffer.begin() + 2, '0');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user