RiivolutionParser: Create config xml directory if it does not exist yet.
This commit is contained in:
parent
f4e2d369c0
commit
ea17dd8dba
|
@ -481,6 +481,7 @@ bool WriteConfigFile(const std::string& filename, const Config& config)
|
|||
if (xml.empty())
|
||||
return false;
|
||||
|
||||
::File::CreateFullPath(filename);
|
||||
::File::IOFile f(filename, "wb");
|
||||
if (!f)
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue