Fix non decimal display glitch
This commit is contained in:
@@ -257,6 +257,7 @@ bool adjustDecimals(char *src, uint32_t srcLength, char *target,
|
|||||||
while (sourceOffset < srcLength) {
|
while (sourceOffset < srcLength) {
|
||||||
target[offset++] = src[sourceOffset++];
|
target[offset++] = src[sourceOffset++];
|
||||||
}
|
}
|
||||||
|
target[offset] = '\0';
|
||||||
}
|
}
|
||||||
for (uint32_t i = startOffset; i < offset; i++) {
|
for (uint32_t i = startOffset; i < offset; i++) {
|
||||||
if (target[i] == '0') {
|
if (target[i] == '0') {
|
||||||
|
|||||||
Reference in New Issue
Block a user