diff options
author | Leyla Farazha <leyla@lindenlab.com> | 2010-08-19 14:27:23 -0700 |
---|---|---|
committer | Leyla Farazha <leyla@lindenlab.com> | 2010-08-19 14:27:23 -0700 |
commit | eaf235978232d4ec69d95af562d7f5f52a2c09e7 (patch) | |
tree | 80ff4a0bddc5cfb1648d739a8fcdcb005983cb99 /indra/newview/lltoolpie.cpp | |
parent | 83253d12f1ccfdeb53141b09700ae4849c804003 (diff) |
fixed line endings
Diffstat (limited to 'indra/newview/lltoolpie.cpp')
-rw-r--r-- | indra/newview/lltoolpie.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/indra/newview/lltoolpie.cpp b/indra/newview/lltoolpie.cpp index 479993c4dd..8ae1861abc 100644 --- a/indra/newview/lltoolpie.cpp +++ b/indra/newview/lltoolpie.cpp @@ -880,14 +880,14 @@ BOOL LLToolPie::handleTooltipObject( LLViewerObject* hover_object, std::string l } } - LLAvatarName av_name;
- if (LLAvatarNameCache::get(hover_object->getID(), &av_name))
- {
- final_name = av_name.mDisplayName + " (" + av_name.mUsername + ")";
- }
- else
- {
- final_name = full_name;
+ LLAvatarName av_name; + if (LLAvatarNameCache::get(hover_object->getID(), &av_name)) + { + final_name = av_name.mDisplayName + " (" + av_name.mUsername + ")"; + } + else + { + final_name = full_name; } // *HACK: We may select this object, so pretend it was clicked |