Fix History button in IM panel not working for non-Windows users.

This commit is contained in:
TighMacFanatic
2012-07-15 15:07:05 -04:00
parent 56c85813ee
commit 329b708aaf

View File

@@ -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;