From d72ed5fe0cb82cebce6d633cd1b7ba72fa8d733a Mon Sep 17 00:00:00 2001 From: Chris Tallon Date: Mon, 8 May 2017 15:23:49 +0100 Subject: [PATCH] Bug fix: Display correct stop time on timer display screen --- vtimeredit.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 vtimeredit.cc diff --git a/vtimeredit.cc b/vtimeredit.cc old mode 100644 new mode 100755 index f977d4d..47e0540 --- a/vtimeredit.cc +++ b/vtimeredit.cc @@ -125,7 +125,7 @@ void VTimerEdit::draw() drawText(buffer, xpos, ypos, DrawStyle::LIGHTTEXT); ypos += fontheight; // Stop - rectime = recTimer->startTime; + rectime = recTimer->stopTime; LOCALTIME_R((time_t*)&rectime, &tms); strftime(buffer, 999, "%d/%m %H:%M", &tms); drawText(buffer, xpos, ypos, DrawStyle::LIGHTTEXT); ypos += fontheight; -- 2.39.5