From 0c48d99d2b33964de401bda5051780d1d68257dc Mon Sep 17 00:00:00 2001 From: "C.W. Betts" Date: Thu, 23 Aug 2018 21:29:03 -0600 Subject: [PATCH] Match the coding style of the rest of the document. --- similar/misc/physfsx.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/similar/misc/physfsx.cpp b/similar/misc/physfsx.cpp index af1d1fcc6..ab3d29d5d 100644 --- a/similar/misc/physfsx.cpp +++ b/similar/misc/physfsx.cpp @@ -227,10 +227,13 @@ bool PHYSFSX_init(int argc, char *argv[]) #if defined(__APPLE__) && defined(__MACH__) { CFBundleRef mainBundle = CFBundleGetMainBundle(); - if (mainBundle) { + if (mainBundle) + { CFURLRef resourcesURL = CFBundleCopyResourcesDirectoryURL(mainBundle); - if (resourcesURL) { - if (CFURLGetFileSystemRepresentation(resourcesURL, TRUE, reinterpret_cast(fullPath), sizeof(fullPath))) { + if (resourcesURL) + { + if (CFURLGetFileSystemRepresentation(resourcesURL, TRUE, reinterpret_cast(fullPath), sizeof(fullPath))) + { fullPath[sizeof(fullPath) - 1] = '\0'; con_printf(CON_DEBUG, "PHYSFS: append resources directory \"%s\" to search path", fullPath); PHYSFS_addToSearchPath(fullPath, 1);