Fix non decimal display glitch

This commit is contained in:
BTChip github
2017-05-31 21:48:49 +02:00
parent 4a4dcdce9a
commit a954625362

View File

@@ -257,6 +257,7 @@ bool adjustDecimals(char *src, uint32_t srcLength, char *target,
while (sourceOffset < srcLength) {
target[offset++] = src[sourceOffset++];
}
target[offset] = '\0';
}
for (uint32_t i = startOffset; i < offset; i++) {
if (target[i] == '0') {