Negative curves badly displayed

This commit is contained in:
bsongis
2014-03-26 09:34:23 +01:00
parent 09fc2af254
commit f9b9df3a83
+4 -2
View File
@@ -1057,10 +1057,12 @@ void putsCurveRef(xcoord_t x, uint8_t y, CurveRef &curve, LcdFlags att)
void putsCurve(xcoord_t x, uint8_t y, int8_t idx, LcdFlags att)
{
if (idx == 0) return lcd_putsiAtt(x, y, STR_MMMINV, 0, att);
if (idx == 0) {
return lcd_putsiAtt(x, y, STR_MMMINV, 0, att);
}
if (idx < 0) {
lcd_putcAtt(x-1*FW, y, '!', att);
lcd_putcAtt(x-3, y, '!', att);
idx = -idx;
}