From 0bab50ed806c1e2fd1a9c0f3940d4894709e0554 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Fri, 17 Apr 2015 15:10:48 +0800 Subject: [PATCH] Fix typo --- atom/app/atom_main_delegate_mac.mm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/atom/app/atom_main_delegate_mac.mm b/atom/app/atom_main_delegate_mac.mm index d52a9d768..33a8dea4a 100644 --- a/atom/app/atom_main_delegate_mac.mm +++ b/atom/app/atom_main_delegate_mac.mm @@ -21,7 +21,7 @@ base::FilePath GetFrameworksPath() { .Append("Frameworks"); } -base::FilePath GetHeleprAppPath(const base::FilePath& frameworks_path, +base::FilePath GetHelperAppPath(const base::FilePath& frameworks_path, const std::string& name) { return frameworks_path.Append(name + " Helper.app") .Append("Contents") @@ -38,10 +38,10 @@ void AtomMainDelegate::OverrideFrameworkBundlePath() { void AtomMainDelegate::OverrideChildProcessPath() { base::FilePath frameworks_path = GetFrameworksPath(); - base::FilePath helper_path = GetHeleprAppPath(frameworks_path, + base::FilePath helper_path = GetHelperAppPath(frameworks_path, ATOM_PRODUCT_NAME); if (!base::PathExists(helper_path)) - helper_path = GetHeleprAppPath(frameworks_path, + helper_path = GetHelperAppPath(frameworks_path, brightray::GetApplicationName()); if (!base::PathExists(helper_path)) LOG(FATAL) << "Unable to find helper app";