zapit,record: fix some really useless uses of float

Origin commit data
------------------
Branch: ni/coolstream
Commit: 9ef0db10d8
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-08-11 (Sun, 11 Aug 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2013-08-11 15:53:25 +02:00
parent 2b3f6544ae
commit d85769a76a
4 changed files with 5 additions and 5 deletions

View File

@@ -237,7 +237,7 @@ bool CRecordInstance::Stop(bool remove_event)
}
time_t end_time = time(0);
recMovieInfo->length = (int) round((double) (end_time - start_time) / (double) 60);
recMovieInfo->length = (end_time - start_time + 30) / 60;
CHintBox hintBox(LOCALE_MESSAGEBOX_INFO, rec_stop_msg.c_str());
if (!(autoshift && g_settings.auto_timeshift))