Fix whitespace

This commit is contained in:
jacob1
2019-01-12 12:50:28 -05:00
parent 655f4bb6d0
commit 50a88c9c26

View File

@@ -553,17 +553,17 @@ void SigHandler(int signal)
void ChdirToDataDirectory() void ChdirToDataDirectory()
{ {
#ifdef MACOSX #ifdef MACOSX
FSRef ref; FSRef ref;
OSType folderType = kApplicationSupportFolderType; OSType folderType = kApplicationSupportFolderType;
char path[PATH_MAX]; 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(); const char *tptPath = (std::string(path) + "/The Powder Toy").c_str();
mkdir(tptPath, 0755); mkdir(tptPath, 0755);
chdir(tptPath); chdir(tptPath);
#endif #endif
} }
@@ -584,8 +584,8 @@ int main(int argc, char * argv[])
#else #else
chdir(arguments["ddir"].c_str()); chdir(arguments["ddir"].c_str());
#endif #endif
else else
ChdirToDataDirectory(); ChdirToDataDirectory();
scale = Client::Ref().GetPrefInteger("Scale", 1); scale = Client::Ref().GetPrefInteger("Scale", 1);
resizable = Client::Ref().GetPrefBool("Resizable", false); resizable = Client::Ref().GetPrefBool("Resizable", false);