From 9b3853bf9420e2d0fd366f01e22d71e529280e3b Mon Sep 17 00:00:00 2001 From: Misa Date: Mon, 18 May 2020 14:07:52 -0700 Subject: [PATCH] Fix indentation with ifdefs and FILESYSTEM_delete() Nested ifdefs have been indented one space accordingly, and FILESYSTEM_delete() has been changed to use a tab instead of 4 spaces. --- desktop_version/src/FileSystemUtils.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/desktop_version/src/FileSystemUtils.cpp b/desktop_version/src/FileSystemUtils.cpp index 1710e080..977cbc0e 100644 --- a/desktop_version/src/FileSystemUtils.cpp +++ b/desktop_version/src/FileSystemUtils.cpp @@ -290,11 +290,11 @@ void PLATFORM_migrateSaveData(char* output) return; } strcpy(oldDirectory, homeDir); -#if defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__HAIKU__) || defined(__DragonFly__) + #if defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__HAIKU__) || defined(__DragonFly__) strcat(oldDirectory, "/.vvvvvv/"); -#elif defined(__APPLE__) + #elif defined(__APPLE__) strcat(oldDirectory, "/Documents/VVVVVV/"); -#endif + #endif dir = opendir(oldDirectory); if (!dir) { @@ -523,5 +523,5 @@ bool FILESYSTEM_openDirectory(const char *dname) bool FILESYSTEM_delete(const char *name) { - return PHYSFS_delete(name) != 0; + return PHYSFS_delete(name) != 0; }