1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-11-01 00:39:41 +01:00

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.
This commit is contained in:
Misa 2020-05-18 14:07:52 -07:00 committed by Ethan Lee
parent bf21c13f80
commit 9b3853bf94

View file

@ -290,11 +290,11 @@ void PLATFORM_migrateSaveData(char* output)
return; return;
} }
strcpy(oldDirectory, homeDir); 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/"); strcat(oldDirectory, "/.vvvvvv/");
#elif defined(__APPLE__) #elif defined(__APPLE__)
strcat(oldDirectory, "/Documents/VVVVVV/"); strcat(oldDirectory, "/Documents/VVVVVV/");
#endif #endif
dir = opendir(oldDirectory); dir = opendir(oldDirectory);
if (!dir) if (!dir)
{ {
@ -523,5 +523,5 @@ bool FILESYSTEM_openDirectory(const char *dname)
bool FILESYSTEM_delete(const char *name) bool FILESYSTEM_delete(const char *name)
{ {
return PHYSFS_delete(name) != 0; return PHYSFS_delete(name) != 0;
} }