From 50a88c9c2623d7f6ffed4fc3aaf02f05683c12e7 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sat, 12 Jan 2019 12:50:28 -0500 Subject: [PATCH] Fix whitespace --- src/PowderToySDL.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/PowderToySDL.cpp b/src/PowderToySDL.cpp index 9f0dd66a1..de9d71e8b 100644 --- a/src/PowderToySDL.cpp +++ b/src/PowderToySDL.cpp @@ -553,17 +553,17 @@ void SigHandler(int signal) void ChdirToDataDirectory() { #ifdef MACOSX - FSRef ref; - OSType folderType = kApplicationSupportFolderType; - char path[PATH_MAX]; + FSRef ref; + OSType folderType = kApplicationSupportFolderType; + char path[PATH_MAX]; - FSFindFolder( kUserDomain, folderType, kCreateFolder, &ref ); + FSFindFolder( kUserDomain, folderType, kCreateFolder, &ref ); - FSRefMakePath( &ref, (UInt8*)&path, PATH_MAX ); + FSRefMakePath( &ref, (UInt8*)&path, PATH_MAX ); - const char *tptPath = (std::string(path) + "/The Powder Toy").c_str(); - mkdir(tptPath, 0755); - chdir(tptPath); + const char *tptPath = (std::string(path) + "/The Powder Toy").c_str(); + mkdir(tptPath, 0755); + chdir(tptPath); #endif } @@ -584,8 +584,8 @@ int main(int argc, char * argv[]) #else chdir(arguments["ddir"].c_str()); #endif - else - ChdirToDataDirectory(); + else + ChdirToDataDirectory(); scale = Client::Ref().GetPrefInteger("Scale", 1); resizable = Client::Ref().GetPrefBool("Resizable", false);