commit 09095a71c9c285f4120f04573962c8151d401326
parent 0e172bc73d5f071f6f8d55d40727dbf600e0f734
Author: cfillion <cfillion@users.noreply.github.com>
Date: Mon, 23 Oct 2017 23:54:40 -0700
woops, fix Windows build (broken since f78163870d0168de2f28b388543e13573c3fa8a6)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/filesystem.cpp b/src/filesystem.cpp
@@ -131,7 +131,7 @@ bool FS::remove(const Path &path)
// Windows is so great!
Path workaroundPath = Path::DATA;
- workaroundPath.append("old_" + path.last() + ".tmp");
+ workaroundPath.append("old_" + path.basename() + ".tmp");
return rename(path, workaroundPath);
#else