mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-01-22 04:18:01 +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;
|
||||
memmove(&buffer[offset], &buffer[0], length);
|
||||
buffer.insert(buffer.begin(), '0');
|
||||
buffer.insert(buffer.begin() + 1, '0');
|
||||
buffer.insert(buffer.begin() + 1, '.');
|
||||
for (int i = 2; i < offset; i++)
|
||||
buffer.insert(buffer.begin() + 2, '0');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user