Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Commit

Permalink
Fix compile error.
Browse files Browse the repository at this point in the history
  • Loading branch information
gruehle committed Apr 4, 2013
1 parent b40bdcd commit c5443fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion appshell/appshell_extensions_mac.mm
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,8 @@ - (void) timeoutTimer:(NSTimer*)timer

int32 ShowFolderInOSWindow(ExtensionString pathname)
{
[[NSWorkspace sharedWorkspace] activateFileViewerSelectingURLs:[NSArray arrayWithObject: [NSURL fileURLWithPath: pathname.c_str()]]];
NSString *filepath = [NSString stringWithUTF8String:pathname.c_str()];
[[NSWorkspace sharedWorkspace] activateFileViewerSelectingURLs:[NSArray arrayWithObject: [NSURL fileURLWithPath: filepath]]];
return NO_ERROR;
}

Expand Down

0 comments on commit c5443fb

Please sign in to comment.