From cc77f11e22aaa413b6b8c6ef9cb5757a95b07013 Mon Sep 17 00:00:00 2001 From: Zorg Date: Mon, 26 Dec 2016 11:17:27 -0500 Subject: [PATCH] Use self instead of [self class] to refer to class method --- Autoupdate/SUInstaller.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Autoupdate/SUInstaller.m b/Autoupdate/SUInstaller.m index 1dd2e67b..16d44103 100644 --- a/Autoupdate/SUInstaller.m +++ b/Autoupdate/SUInstaller.m @@ -153,7 +153,7 @@ } else { NSString *normalizedInstallationPath = nil; if (SPARKLE_NORMALIZE_INSTALLED_APPLICATION_NAME) { - normalizedInstallationPath = [[self class] normalizedInstallationPathForHost:host]; + normalizedInstallationPath = [self normalizedInstallationPathForHost:host]; } // If we have a normalized path, we'll install to "#{CFBundleName}.app", but only if that path doesn't already exist. If we're "Foo 4.2.app," and there's a "Foo.app" in this directory, we don't want to overwrite it! But if there's no "Foo.app," we'll take that name.