From 329b708aaf4ea75eddbf356381ed966bcd04a773 Mon Sep 17 00:00:00 2001 From: TighMacFanatic Date: Sun, 15 Jul 2012 15:07:05 -0400 Subject: [PATCH] Fix History button in IM panel not working for non-Windows users. --- indra/newview/llimpanel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llimpanel.cpp b/indra/newview/llimpanel.cpp index 842f10fd6..ed2349717 100644 --- a/indra/newview/llimpanel.cpp +++ b/indra/newview/llimpanel.cpp @@ -1938,7 +1938,7 @@ void LLFloaterIMPanel::onClickHistory( void* userdata ) //std::string fullname(gDirUtilp->getScrubbedFileName(self->getTitle())); std::string fullname(gDirUtilp->getScrubbedFileName(self->mSessionLabel)); // [/Ansariel: Display name support] - sprintf(command, "\"%s\\%s.txt\"", gDirUtilp->getPerAccountChatLogsDir().c_str(),fullname.c_str()); + sprintf(command, "\"%s%s%s.txt\"", gDirUtilp->getPerAccountChatLogsDir().c_str(), gDirUtilp->getDirDelimiter().c_str(), fullname.c_str()); gViewerWindow->getWindow()->ShellEx(command); llinfos << command << llendl;