UI: Show error if empty recording path specified

Same as 937ec4d but for advanced output.
master
Richard Stanway 2017-08-07 00:40:20 +02:00
parent 0c0ffb341c
commit 91c292d394
No known key found for this signature in database
GPG Key ID: AAC1E5265D71B3FD
1 changed files with 1 additions and 1 deletions

View File

@ -1495,7 +1495,7 @@ bool AdvancedOutput::StartRecording()
"FFFileNameWithoutSpace" :
"RecFileNameWithoutSpace");
os_dir_t *dir = path ? os_opendir(path) : nullptr;
os_dir_t *dir = path && path[0] ? os_opendir(path) : nullptr;
if (!dir) {
if (main->isVisible())