summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--menu_conflictcheck.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/menu_conflictcheck.c b/menu_conflictcheck.c
index 66192e4..e901da8 100644
--- a/menu_conflictcheck.c
+++ b/menu_conflictcheck.c
@@ -199,8 +199,10 @@ cMenuConflictCheckDetails::cMenuConflictCheckDetails(cConflictCheckTimerObj* Tim
conflictCheck = ConflictCheck;
BuildList();
SetHelpKeys();
- string title = string(DATESTRING(checktime->evaltime)) + " " + TIMESTRING(checktime->evaltime);
- SetTitle(title.c_str());
+
+ int recPart = timerObj->recDuration * 100 / (timerObj->stop - timerObj->start);
+ cString buffer = cString::sprintf("%s - %s - %d%%", DATESTRING(checktime->evaltime), TIMESTRING(checktime->evaltime), recPart);
+ SetTitle(buffer);
}
bool cMenuConflictCheckDetails::BuildList()