From 7178dbf96b96cf8aa0ec5703f99cc8b91347bc8c Mon Sep 17 00:00:00 2001 From: paibox Date: Tue, 31 Dec 2013 01:00:59 +0100 Subject: [PATCH] Add file that didn't get included GitHub's application for some reason didn't detect that any changes had been made to this file. --- Source/OBSCapture.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/OBSCapture.cpp b/Source/OBSCapture.cpp index fc9f8c67..b10967a6 100644 --- a/Source/OBSCapture.cpp +++ b/Source/OBSCapture.cpp @@ -144,6 +144,7 @@ void OBS::StartRecording() { Log(TEXT("Warning - OBSCapture::Start: Unable to create the file stream. Check the file path in Broadcast Settings.")); MessageBox(hwndMain, Str("Capture.Start.FileStream.Warning"), Str("Capture.Start.FileStream.WarningCaption"), MB_OK | MB_ICONWARNING); + bRecording = false; } else { EnableWindow(GetDlgItem(hwndMain, ID_TOGGLERECORDING), TRUE); @@ -679,6 +680,7 @@ retryHookTestV2: { Log(TEXT("Warning - OBSCapture::Start: Unable to create the file stream. Check the file path in Broadcast Settings.")); MessageBox(hwndMain, Str("Capture.Start.FileStream.Warning"), Str("Capture.Start.FileStream.WarningCaption"), MB_OK | MB_ICONWARNING); + bRecording = false; } else { bRecording = true;