diff options
| author | James Cook <james@lindenlab.com> | 2009-11-18 14:29:01 -0800 | 
|---|---|---|
| committer | James Cook <james@lindenlab.com> | 2009-11-18 14:29:01 -0800 | 
| commit | 203490e2a0915c5ce59ccacba420388327f9143b (patch) | |
| tree | 3cad820c81082c696d487d8c2bb4a040c4379899 | |
| parent | a46794bcff15b70ab4e5e04ce12d118579b72245 (diff) | |
Change /me emote formatting to pure italics, not underlined.
Review pending with Richard/Leyla
| -rw-r--r-- | indra/newview/llchatitemscontainerctrl.cpp | 2 | ||||
| -rw-r--r-- | indra/newview/llimfloater.cpp | 4 | ||||
| -rw-r--r-- | indra/newview/llnearbychat.cpp | 2 | ||||
| -rw-r--r-- | indra/newview/lltoastimpanel.cpp | 2 | 
4 files changed, 5 insertions, 5 deletions
| diff --git a/indra/newview/llchatitemscontainerctrl.cpp b/indra/newview/llchatitemscontainerctrl.cpp index 56b7520bd5..8a6935b71b 100644 --- a/indra/newview/llchatitemscontainerctrl.cpp +++ b/indra/newview/llchatitemscontainerctrl.cpp @@ -187,7 +187,7 @@ void LLNearbyChatToastPanel::init(LLSD& notification)  			msg_text->setText(mFromName, style_params);  		}  		mText = mText.substr(3); -		style_params.font.style = "UNDERLINE"; +		style_params.font.style = "ITALIC";  #define INFINITE_REFLOW_BUG 0  #if INFINITE_REFLOW_BUG  		// This causes LLTextBase::reflow() to infinite loop until the viewer diff --git a/indra/newview/llimfloater.cpp b/indra/newview/llimfloater.cpp index c2c83191e0..120935883a 100644 --- a/indra/newview/llimfloater.cpp +++ b/indra/newview/llimfloater.cpp @@ -494,12 +494,12 @@ void LLIMFloater::updateMessages()  				if (from.size() > 0)  				{  					append_style_params.font.style = "ITALIC"; -					chat.mText = from + " "; +					chat.mText = from;  					mChatHistory->appendWidgetMessage(chat, append_style_params);  				}  				message = message.substr(3); -				append_style_params.font.style = "UNDERLINE"; +				append_style_params.font.style = "ITALIC";  				mChatHistory->appendText(message, FALSE, append_style_params);  			}  			else diff --git a/indra/newview/llnearbychat.cpp b/indra/newview/llnearbychat.cpp index 16a47890c3..1f984e3af8 100644 --- a/indra/newview/llnearbychat.cpp +++ b/indra/newview/llnearbychat.cpp @@ -177,7 +177,7 @@ void	LLNearbyChat::addMessage(const LLChat& chat)  			}  			message = message.substr(3); -			append_style_params.font.style = "UNDERLINE"; +			append_style_params.font.style = "ITALIC";  			mChatHistory->appendText(message, FALSE, append_style_params);  		}  		else diff --git a/indra/newview/lltoastimpanel.cpp b/indra/newview/lltoastimpanel.cpp index d2cc6d0726..9040bdb41a 100644 --- a/indra/newview/lltoastimpanel.cpp +++ b/indra/newview/lltoastimpanel.cpp @@ -64,7 +64,7 @@ LLToastIMPanel::LLToastIMPanel(LLToastIMPanel::Params &p) :	LLToastPanel(p.notif  		style_params.font.style ="ITALIC";  		mMessage->appendText(p.from + " ", FALSE, style_params); -		style_params.font.style = "UNDERLINE"; +		style_params.font.style = "ITALIC";  		mMessage->appendText(p.message.substr(3), FALSE, style_params);  	}  	else | 
