summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAimee Linden <aimee@lindenlab.com>2010-07-15 02:47:30 +0100
committerAimee Linden <aimee@lindenlab.com>2010-07-15 02:47:30 +0100
commit7a3a192f790992bbb83461c0d24036580bfc3cdc (patch)
treeddb67721a7272c3ea0ed245a269610e18449bee6 /indra
parent13f0f72acf6f67fde27cb626307a54be780b2d90 (diff)
Tidy up LLPanelPlaces::onOverflowButtonClicked() by replacing magic strings with the existing consts
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llpanelplaces.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llpanelplaces.cpp b/indra/newview/llpanelplaces.cpp
index 9b6ab9cb74..c713bc3965 100644
--- a/indra/newview/llpanelplaces.cpp
+++ b/indra/newview/llpanelplaces.cpp
@@ -718,8 +718,8 @@ void LLPanelPlaces::onOverflowButtonClicked()
bool is_agent_place_info_visible = mPlaceInfoType == AGENT_INFO_TYPE;
if ((is_agent_place_info_visible ||
- mPlaceInfoType == "remote_place" ||
- mPlaceInfoType == "teleport_history") && mPlaceMenu != NULL)
+ mPlaceInfoType == REMOTE_PLACE_INFO_TYPE ||
+ mPlaceInfoType == TELEPORT_HISTORY_INFO_TYPE) && mPlaceMenu != NULL)
{
menu = mPlaceMenu;