Compare commits

...

2 commits

2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(SAVETOOL_PROJECT_VERSION 1.3.2)
set(SAVETOOL_PROJECT_VERSION 1.3.3)
find_package(Corrade REQUIRED Main Containers Utility Interconnect)
find_package(Magnum REQUIRED GL Sdl2Application)

View file

@ -132,7 +132,7 @@ auto UESaveFile::saveToFile() -> bool {
writer.closeFile();
if(!temp_file && !Utility::Path::copy(_filepath + ".tmp"_s, _filepath)) {
if(!Utility::Path::copy(_filepath + ".tmp"_s, _filepath)) {
_lastError = "Couldn't save the file properly.";
return false;
}