This website works better with JavaScript.
Home
Help
Sign In
VCVRack
/
Rack
mirror of
https://github.com/VCVRack/Rack.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
38
Wiki
Activity
Browse Source
Remove old patch before moving new temporary patch to its location.
tags/v1.0.0
Andrew Belt
5 years ago
parent
d3548160c9
commit
e2c4dc8249
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
src/patch.cpp
+ 1
- 0
src/patch.cpp
View File
@@ -91,6 +91,7 @@ void PatchManager::save(std::string path) {
json_dumpf(rootJ, file, JSON_INDENT(2) | JSON_REAL_PRECISION(9));
std::fclose(file);
std::remove(path.c_str());
std::rename(tmpPath.c_str(), path.c_str());
}
Write
Preview
Loading…
Cancel
Save