init pre post

This commit is contained in:
Jacek Jendrzej
2017-06-26 19:23:23 +02:00
parent 7aec84d124
commit 4bdacf39c8
4 changed files with 4 additions and 4 deletions

View File

@@ -310,7 +310,7 @@ int CRecordSetup::showRecordSetup()
void CRecordSetup::showRecordTimerSetup(CMenuWidget *menu_timersettings)
{
//recording start/end correcture
int pre,post;
int pre = 0,post = 0;
g_Timerd->getRecordingSafety(pre,post);
g_settings.record_safety_time_before = pre/60;
g_settings.record_safety_time_after = post/60;