Launch transcripts in external text editor on mac too

This commit is contained in:
Cinder
2014-04-21 18:05:45 -04:00
parent d5d0473487
commit a4c672252d
4 changed files with 21 additions and 5 deletions

View File

@@ -1002,10 +1002,10 @@ void LLFloaterIMPanel::onFlyoutCommit(LLComboBox* flyout, const LLSD& value)
void show_log_browser(const std::string& name, const std::string& id)
{
#if LL_WINDOWS // Singu TODO: Other platforms?
#if LL_WINDOWS || LL_DARWIN // Singu TODO: Linux?
if (gSavedSettings.getBOOL("LiruLegacyLogLaunch"))
{
gViewerWindow->getWindow()->ShellEx("\"" + LLLogChat::makeLogFileName(name) + "\"");
gViewerWindow->getWindow()->ShellEx(LLLogChat::makeLogFileName(name));
return;
}
#endif