Fix GetOutputFilename not expanding output filename properly

This commit is contained in:
palana 2014-09-14 19:21:19 +02:00
parent e32966e096
commit 1d80b17c84

View File

@ -180,7 +180,7 @@ String GetOutputFilename(bool replayBuffer=false)
bool bUseDateTimeName = true; bool bUseDateTimeName = true;
bool bOverwrite = GlobalConfig->GetInt(L"General", L"OverwriteRecordings", false) != 0; bool bOverwrite = GlobalConfig->GetInt(L"General", L"OverwriteRecordings", false) != 0;
ExpandRecordingFilename(strOutputFile); strOutputFile = ExpandRecordingFilename(strOutputFile);
CreatePath(GetPathDirectory(strOutputFile)); CreatePath(GetPathDirectory(strOutputFile));