From: Chris Tallon Date: Mon, 8 May 2017 14:23:49 +0000 (+0100) Subject: Bug fix: Display correct stop time on timer display screen X-Git-Tag: 0-5-1~28 X-Git-Url: https://git.vomp.tv/gitweb/?a=commitdiff_plain;h=d72ed5fe0cb82cebce6d633cd1b7ba72fa8d733a;p=vompclient.git Bug fix: Display correct stop time on timer display screen --- 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;