From 56c85813ee77a3faa373f1cdb6c51eb86feec340 Mon Sep 17 00:00:00 2001 From: TighMacFanatic Date: Sun, 15 Jul 2012 14:25:10 -0400 Subject: [PATCH] Fix History button on local chat not working for non-Windows users. --- indra/newview/llfloaterchat.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/indra/newview/llfloaterchat.cpp b/indra/newview/llfloaterchat.cpp index af37749c9..dec68245d 100644 --- a/indra/newview/llfloaterchat.cpp +++ b/indra/newview/llfloaterchat.cpp @@ -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;