From f686e5325d543ce9d9e5ceea4d570cc8521c65c4 Mon Sep 17 00:00:00 2001 From: bsongis Date: Mon, 7 Jan 2013 11:06:08 +0000 Subject: [PATCH] [all] Timers alignment problem (thanks Gabriel for the report!) --- src/lcd.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lcd.cpp b/src/lcd.cpp index 5cecf6b2f..d9e1730f1 100644 --- a/src/lcd.cpp +++ b/src/lcd.cpp @@ -640,6 +640,8 @@ void putsTime(xcoord_t x, uint8_t y, putstime_t tme, LcdFlags att, LcdFlags att2 { div_t qr; + if (att & LEFT) x+=3*FW; + if (tme<0) { lcd_putcAtt(x - ((att & DBLSIZE) ? FW+3 : ((att & MIDSIZE) ? FW+1 : FWNUM)), y, '-', att); tme = -tme;