diff --git a/dlls/winemac.drv/cocoa_app.m b/dlls/winemac.drv/cocoa_app.m index b58318cebd4b..e9a0ada6270d 100644 --- a/dlls/winemac.drv/cocoa_app.m +++ b/dlls/winemac.drv/cocoa_app.m @@ -391,10 +391,10 @@ - (void) transformProcessToForeground:(BOOL)activateIfTransformed /* Whisky hack #9 */ // Set application name NSString* appName = [NSString stringWithFormat:kAppNameText, self.applicationName]; + NSLog(@"Setting process name to %@", appName); bool success = [self setProcessName:appName]; if (!success) NSLog(@"Failed to set process name to %@", appName); - [appName release]; } } @@ -917,8 +917,7 @@ typedef OSStatus (*LSSetApplicationInformationItemType)( } // Force symbols to be loaded in the LaunchServices framework - ProcessSerialNumber psn = {0, kCurrentProcess}; - GetCurrentProcess(&psn); + ColorSyncCMMGetTypeID(); } // If any of the function pointers are NULL, we can't continue