From 1d80b17c846f4a6642e5b76d0425e051c1b5f673 Mon Sep 17 00:00:00 2001 From: palana Date: Sun, 14 Sep 2014 19:21:19 +0200 Subject: [PATCH] Fix GetOutputFilename not expanding output filename properly --- Source/OBSCapture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/OBSCapture.cpp b/Source/OBSCapture.cpp index 201b82460..71030fe6c 100644 --- a/Source/OBSCapture.cpp +++ b/Source/OBSCapture.cpp @@ -180,7 +180,7 @@ String GetOutputFilename(bool replayBuffer=false) bool bUseDateTimeName = true; bool bOverwrite = GlobalConfig->GetInt(L"General", L"OverwriteRecordings", false) != 0; - ExpandRecordingFilename(strOutputFile); + strOutputFile = ExpandRecordingFilename(strOutputFile); CreatePath(GetPathDirectory(strOutputFile));