Fixed Low bug EXT-2404-Nearby Chat: There is redundant semicolon in the log for system messages

--HG--
branch : product-engine
meow-7.2.2
Eugene Kondrashev 2009-11-13 12:26:57 +02:00
parent 74d5a6605b
commit d116185bfd
1 changed files with 4 additions and 2 deletions

View File

@ -53,7 +53,7 @@ std::string formatCurrentTime()
time_t utc_time;
utc_time = time_corrected();
std::string timeStr ="["+ LLTrans::getString("TimeHour")+"]:["
+LLTrans::getString("TimeMin")+"] ";
+LLTrans::getString("TimeMin")+"]";
LLSD substitution;
@ -344,7 +344,9 @@ LLView* LLChatHistory::getHeader(const LLChat& chat,const LLStyle::Params& style
void LLChatHistory::appendWidgetMessage(const LLChat& chat, LLStyle::Params& style_params)
{
LLView* view = NULL;
std::string view_text = "\n[" + formatCurrentTime() + "] " + chat.mFromName + ": ";
std::string view_text = "\n[" + formatCurrentTime() + "] ";
if (utf8str_trim(chat.mFromName).size() != 0 && chat.mFromName != SYSTEM_FROM)
view_text += chat.mFromName + ": ";
LLInlineViewSegment::Params p;
p.force_newline = true;