mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 08:25:40 +02:00
Fix the typo I made in the conversion to std::string
This commit is contained in:
+1
-1
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user