]> git.vomp.tv Git - vompclient.git/commitdiff
Bug fix: Display correct stop time on timer display screen
authorChris Tallon <chris@vomp.tv>
Mon, 8 May 2017 14:23:49 +0000 (15:23 +0100)
committerChris Tallon <chris@vomp.tv>
Mon, 8 May 2017 14:23:49 +0000 (15:23 +0100)
vtimeredit.cc [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index f977d4d..47e0540
@@ -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;