Fix History button on local chat not working for non-Windows users.

This commit is contained in:
TighMacFanatic
2012-07-15 14:25:10 -04:00
parent 0c313807ff
commit 56c85813ee

View File

@@ -683,7 +683,8 @@ void LLFloaterChat::onClickToggleActiveSpeakers(void* userdata)
void LLFloaterChat::onClickChatHistoryOpen(void* userdata)
{
char command[256];
sprintf(command, "\"%s\\%s\"", gDirUtilp->getPerAccountChatLogsDir().c_str(), "chat.txt");
sprintf(command, "\"%s%s%s\"", gDirUtilp->getPerAccountChatLogsDir().c_str(), gDirUtilp->getDirDelimiter().c_str(), "chat.txt");
gViewerWindow->getWindow()->ShellEx(command);
llinfos << command << llendl;