mirror of https://github.com/odrling/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
|
@ -45,7 +45,7 @@ std::unique_ptr<std::ifstream> Open(fs::path const& file, bool binary) {
|
||||||
|
|
||||||
Save::Save(fs::path const& file, bool binary)
|
Save::Save(fs::path const& file, bool binary)
|
||||||
: file_name(file)
|
: 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;
|
LOG_D("agi/io/save/file") << file;
|
||||||
acs::CheckDirWrite(file.parent_path());
|
acs::CheckDirWrite(file.parent_path());
|
||||||
|
|
Loading…
Reference in New Issue