diff options
author | James Cook <james@lindenlab.com> | 2009-07-27 16:50:01 +0000 |
---|---|---|
committer | James Cook <james@lindenlab.com> | 2009-07-27 16:50:01 +0000 |
commit | ca51e8f33dfa0cd455438f11902fb1d839bf6206 (patch) | |
tree | 0e261edeab3e2e3f53a1f3ab825aa76906fff152 /indra/newview/llstartup.cpp | |
parent | f5ba6df4c2dc5a5e0842ed028dd4de01406dca3b (diff) |
Merge xui-army-8 to pick up 2+ weeks of art, colors, and dialog layout changes.
svn merge -r128075:128364 svn+ssh://svn.lindenlab.com/svn/linden/branches/skinning/xui-army-8
Diffstat (limited to 'indra/newview/llstartup.cpp')
-rw-r--r-- | indra/newview/llstartup.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp index e6a2ab4ace..d0432e7961 100644 --- a/indra/newview/llstartup.cpp +++ b/indra/newview/llstartup.cpp @@ -891,10 +891,13 @@ bool idle_startup() } //Default the path if one isn't set. - if (gSavedPerAccountSettings.getString("InstantMessageLogPath").empty()) + if (gSavedPerAccountSettings.getString("InstantMessageLogFolder").empty()) { gDirUtilp->setChatLogsDir(gDirUtilp->getOSUserAppDir()); - gSavedPerAccountSettings.setString("InstantMessageLogPath",gDirUtilp->getChatLogsDir()); + std::string chat_log_dir = gDirUtilp->getChatLogsDir(); + std::string chat_log_top_folder=gDirUtilp->getBaseFileName(chat_log_dir); + gSavedPerAccountSettings.setString("InstantMessageLogPath",chat_log_dir); + gSavedPerAccountSettings.setString("InstantMessageLogFolder",chat_log_top_folder); } else { |