MGR: Fix my change (commit 91784e9: replace deprecated Mac API ) lost by merge 3a956aa

This commit is contained in:
Charlie Fenton 2017-04-04 20:56:37 -07:00
parent e342de99fd
commit b771170656
1 changed files with 1 additions and 2 deletions

View File

@ -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) {