From b587c85a819c93ffc7caf89d9d63329af005c720 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 7 May 2015 00:45:36 +0200 Subject: [PATCH] - fixed: On Windows the cache path could end up with double slashes when no AppData folder could be found. --- src/m_specialpaths.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/m_specialpaths.cpp b/src/m_specialpaths.cpp index 086f170f8..3e12be17d 100644 --- a/src/m_specialpaths.cpp +++ b/src/m_specialpaths.cpp @@ -146,6 +146,7 @@ FString M_GetCachePath(bool create) // Don't use GAME_DIR and such so that ZDoom and its child ports can // share the node cache. path += "/zdoom/cache"; + path.Substitute("//", "/"); // needed because progdir ends with a slash. return path; }