From d96794003587df102b645936d0a34d7a8b2bcf35 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 31 Oct 2019 18:55:29 +0100 Subject: [PATCH] Remove trailing spaces from wxCocoaLaunch() No real changes. --- src/osx/cocoa/utils_base.mm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/osx/cocoa/utils_base.mm b/src/osx/cocoa/utils_base.mm index 928de91a1d..071d3f3dd3 100644 --- a/src/osx/cocoa/utils_base.mm +++ b/src/osx/cocoa/utils_base.mm @@ -204,19 +204,19 @@ bool wxCocoaLaunch(const char* const* argv, pid_t &pid) wxLogDebug(wxT("wxCocoaLaunch No file to launch!")); return false ; } - + // Path to bundle wxString path = *argv++; NSError *error = nil; NSURL *url = [NSURL fileURLWithPath:wxCFStringRef(path).AsNSString() isDirectory:YES]; - + // Check the URL validity if( url == nil ) { wxLogDebug(wxT("wxCocoaLaunch Can't open path: %s"), path.c_str()); return false ; } - + // Loop through command line arguments to the bundle, // turn them into CFURLs and then put them in cfaFiles // For use to launch services call @@ -253,7 +253,7 @@ bool wxCocoaLaunch(const char* const* argv, pid_t &pid) *argv); continue; } - + // Add the valid CFURL to the argument array and then // release it as the CFArray adds a ref count to it [params addObject:cfurlCurrentFile]; @@ -263,7 +263,7 @@ bool wxCocoaLaunch(const char* const* argv, pid_t &pid) configuration:[NSDictionary dictionaryWithObject:params forKey:NSWorkspaceLaunchConfigurationArguments] error:&error]; [params release]; - + if( app != nil ) pid = [app processIdentifier]; else