Fixed Low bug EXT-2404-Nearby Chat: There is redundant semicolon in the log for system messages
--HG-- branch : product-enginemeow-7.2.2
parent
74d5a6605b
commit
d116185bfd
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue