- record: add space between title and duration in record messages

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2018-07-29 00:54:55 +02:00
committed by Thilo Graf
parent 541162a59f
commit 19c7e44bf7

View File

@@ -1442,7 +1442,7 @@ int CRecordManager::exec(CMenuTarget* parent, const std::string & actionKey )
if (inst) { if (inst) {
std::string title, duration; std::string title, duration;
inst->GetRecordString(title, duration); inst->GetRecordString(title, duration);
title += duration; title += " " + duration;
tostart = (ShowMsg(LOCALE_RECORDING_IS_RUNNING, title.c_str(), tostart = (ShowMsg(LOCALE_RECORDING_IS_RUNNING, title.c_str(),
CMsgBox::mbrYes, CMsgBox::mbYes | CMsgBox::mbNo, NULL, 450, DEFAULT_TIMEOUT) == CMsgBox::mbrYes); CMsgBox::mbrYes, CMsgBox::mbYes | CMsgBox::mbNo, NULL, 450, DEFAULT_TIMEOUT) == CMsgBox::mbrYes);
} }
@@ -1584,7 +1584,7 @@ bool CRecordManager::AskToStop(const t_channel_id channel_id, const int recid)
if(inst) { if(inst) {
inst->GetRecordString(title, duration); inst->GetRecordString(title, duration);
title += duration; title += " " + duration;
} }
mutex.unlock(); mutex.unlock();
if(inst == NULL) if(inst == NULL)