|
|
|
@ -393,7 +393,7 @@ static void LEDMeterMode_draw(Meter* this, int x, int y, int w) { |
|
|
|
int xx = x + strlen(this->caption); |
|
|
|
int xx = x + strlen(this->caption); |
|
|
|
int len = RichString_sizeVal(out); |
|
|
|
int len = RichString_sizeVal(out); |
|
|
|
for (int i = 0; i < len; i++) { |
|
|
|
for (int i = 0; i < len; i++) { |
|
|
|
char c = RichString_getCharVal(out, i); |
|
|
|
int c = RichString_getCharVal(out, i); |
|
|
|
if (c >= '0' && c <= '9') { |
|
|
|
if (c >= '0' && c <= '9') { |
|
|
|
LEDMeterMode_drawDigit(xx, y, c - 48); |
|
|
|
LEDMeterMode_drawDigit(xx, y, c - 48); |
|
|
|
xx += 4; |
|
|
|
xx += 4; |
|
|
|
|