From b7711706569003ecca4cc0a1836a01c8df3bef2f Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Tue, 4 Apr 2017 20:56:37 -0700 Subject: [PATCH] MGR: Fix my change (commit 91784e9: replace deprecated Mac API ) lost by merge 3a956aa --- clientgui/MainDocument.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/clientgui/MainDocument.cpp b/clientgui/MainDocument.cpp index ff6b633d2b..5738ffcce7 100644 --- a/clientgui/MainDocument.cpp +++ b/clientgui/MainDocument.cpp @@ -1839,8 +1839,7 @@ int CMainDocument::WorkShowVMConsole(RESULT* res) { // Unfortunately, CoRD does not seem as reliable as I would like either. // // First try to find the CoRD application by Bundle ID and Creator Code - status = LSFindApplicationForInfo('RDC#', CFSTR("net.sf.cord"), - NULL, &theFSRef, NULL); + status = GetPathToAppFromID('RDC#', CFSTR("net.sf.cord"), pathToCoRD, MAXPATHLEN); if (status != noErr) { CBOINCBaseFrame* pFrame = wxGetApp().GetFrame(); if (pFrame) {