mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 13:08:50 +02:00
UI: Remove redundant directory creation
This commit is contained in:
parent
8b338b35b1
commit
8273d2cf6f
@ -263,11 +263,6 @@ static bool MakeUserDirs()
|
|||||||
return false;
|
return false;
|
||||||
if (!do_mkdir(path))
|
if (!do_mkdir(path))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (GetConfigPath(path, sizeof(path), "obs-studio/logs") <= 0)
|
|
||||||
return false;
|
|
||||||
if (!do_mkdir(path))
|
|
||||||
return false;
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
if (GetConfigPath(path, sizeof(path), "obs-studio/crashes") <= 0)
|
if (GetConfigPath(path, sizeof(path), "obs-studio/crashes") <= 0)
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user