commit 19ef8b6cf2345e120f51d75f8e97f3dac0fb78e1
parent 8e884798b379853b7583cc8fcacb897abd75f2ba
Author: cfillion <cfillion@users.noreply.github.com>
Date: Fri, 11 Nov 2016 15:17:20 -0800
win32: fix temporary file removal (was broken since 47c97e488f2f7430b114a911c6615f652d54b66d v1.1rc2)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/reapack.cpp b/src/reapack.cpp
@@ -43,7 +43,7 @@ const char *ReaPack::BUILDTIME = __DATE__ " " __TIME__;
// Surely there must be a better way...
static void CleanupTempFiles()
{
- const Path &path = Path::prefixRoot(Path::CACHE + "*.tmp");
+ const Path &path = Path::prefixRoot(Path::DATA + "*.tmp");
const auto_string &pattern = make_autostring(path.join());
WIN32_FIND_DATA fd = {};