From e7dacb5655b8f987e25f5f57267d767b6741eed4 Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Sun, 7 Dec 2008 00:12:15 +0000 Subject: cleanup: delete old files and don't use SanitizePath where it's not needed. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1416 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/FileUtil.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/Common/Src/FileUtil.cpp') diff --git a/Source/Core/Common/Src/FileUtil.cpp b/Source/Core/Common/Src/FileUtil.cpp index 1be34355df..7fd81d3ae0 100644 --- a/Source/Core/Common/Src/FileUtil.cpp +++ b/Source/Core/Common/Src/FileUtil.cpp @@ -78,7 +78,7 @@ bool Delete(const char *filename) if (IsDirectory(filename)) return false; #ifdef _WIN32 - DeleteFile(SanitizePath(filename).c_str()); + DeleteFile(filename); #else unlink(filename); #endif @@ -222,7 +222,7 @@ bool DeleteDir(const char *filename) bool Rename(const char *srcFilename, const char *destFilename) { - return (rename(SanitizePath(srcFilename).c_str(), SanitizePath(destFilename).c_str()) == 0); + return (rename(srcFilename, destFilename) == 0); } bool Copy(const char *srcFilename, const char *destFilename) -- cgit v1.2.3