forked from mia/Aegisub
Eliminate double dot in temporary file names
Probably didn't cause any problems, but it was slightly ugly.
This commit is contained in:
parent
af74371f6d
commit
dd49539555
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ std::unique_ptr<std::ifstream> Open(fs::path const& file, bool binary) {
|
|||
|
||||
Save::Save(fs::path const& file, bool binary)
|
||||
: file_name(file)
|
||||
, tmp_name(unique_path(file.parent_path()/(file.stem().string() + "_tmp_%%%%." + file.extension().string())))
|
||||
, tmp_name(unique_path(file.parent_path()/(file.stem().string() + "_tmp_%%%%" + file.extension().string())))
|
||||
{
|
||||
LOG_D("agi/io/save/file") << file;
|
||||
acs::CheckDirWrite(file.parent_path());
|
||||
|
|
Loading…
Reference in a new issue