From a0a69a72b5464ea00ec3e13b8d744d597eb4c68c Mon Sep 17 00:00:00 2001 From: Cinders Date: Fri, 27 Sep 2013 20:25:05 -0600 Subject: [PATCH] Fix spelling in area search --- indra/newview/fsareasearch.cpp | 16 ++++++++-------- indra/newview/fsareasearch.h | 6 +++--- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/indra/newview/fsareasearch.cpp b/indra/newview/fsareasearch.cpp index 336d084ac4..f812ce389a 100644 --- a/indra/newview/fsareasearch.cpp +++ b/indra/newview/fsareasearch.cpp @@ -111,7 +111,7 @@ FSAreaSearch::FSAreaSearch(const LLSD& key) : mBeaconTextColor(), mBeacons(false), mExcludeAttachment(true), - mExcludeTempary(true), + mExcludeTemporary(true), mExcludePhysics(true), mExcludeChildPrims(true), mExcludeNeighborRegions(true), @@ -467,7 +467,7 @@ bool FSAreaSearch::isSearchableObject(LLViewerObject* objectp, LLViewerRegion* o return false; } - if (mExcludeTempary && objectp->flagTemporaryOnRez()) + if (mExcludeTemporary && objectp->flagTemporaryOnRez()) { return false; } @@ -1730,9 +1730,9 @@ BOOL FSPanelAreaSearchFilter::postBuild() mCheckboxExcludePhysics->set(TRUE); mCheckboxExcludePhysics->setCommitCallback(boost::bind(&FSPanelAreaSearchFilter::onCommitCheckbox, this)); - mCheckboxExcludeTempary = getChild("exclude_temporary"); - mCheckboxExcludeTempary->set(TRUE); - mCheckboxExcludeTempary->setCommitCallback(boost::bind(&FSPanelAreaSearchFilter::onCommitCheckbox, this)); + mCheckboxExcludetemporary = getChild("exclude_temporary"); + mCheckboxExcludetemporary->set(TRUE); + mCheckboxExcludetemporary->setCommitCallback(boost::bind(&FSPanelAreaSearchFilter::onCommitCheckbox, this)); mCheckboxExcludeChildPrim = getChild("exclude_childprim"); mCheckboxExcludeChildPrim->set(TRUE); @@ -1786,17 +1786,17 @@ void FSPanelAreaSearchFilter::onCommitCheckbox() } mFSAreaSearch->setFilterPhysicial(mCheckboxPhysical->get()); - if (mCheckboxExcludeTempary->get()) + if (mCheckboxExcludetemporary->get()) { mFSAreaSearch->setFilterTemporary(false); mCheckboxTemporary->set(FALSE); mCheckboxTemporary->setEnabled(FALSE); - mFSAreaSearch->setExcludeTempary(true); + mFSAreaSearch->setExcludetemporary(true); } else { mCheckboxTemporary->setEnabled(TRUE); - mFSAreaSearch->setExcludeTempary(false); + mFSAreaSearch->setExcludetemporary(false); } mFSAreaSearch->setFilterTemporary(mCheckboxTemporary->get()); diff --git a/indra/newview/fsareasearch.h b/indra/newview/fsareasearch.h index b3c0be05ac..04ff4d787c 100644 --- a/indra/newview/fsareasearch.h +++ b/indra/newview/fsareasearch.h @@ -142,7 +142,7 @@ public: void setBeacons(bool b) { mBeacons = b; } void setExcludeAttachment(bool b) { mExcludeAttachment = b; } - void setExcludeTempary(bool b) { mExcludeTempary = b; } + void setExcludetemporary(bool b) { mExcludeTemporary = b; } void setExcludePhysics(bool b) { mExcludePhysics = b; } void setExcludeChildPrims(bool b) { mExcludeChildPrims = b; } void setExcludeNeighborRegions(bool b) { mExcludeNeighborRegions = b; } @@ -228,7 +228,7 @@ private: S32 mBeaconLineWidth; bool mExcludeAttachment; - bool mExcludeTempary; + bool mExcludeTemporary; bool mExcludePhysics; bool mExcludeChildPrims; bool mExcludeNeighborRegions; @@ -383,7 +383,7 @@ private: LLCheckBoxCtrl* mCheckboxAttachment; LLCheckBoxCtrl* mCheckboxExcludeAttachment; LLCheckBoxCtrl* mCheckboxExcludePhysics; - LLCheckBoxCtrl* mCheckboxExcludeTempary; + LLCheckBoxCtrl* mCheckboxExcludetemporary; LLCheckBoxCtrl* mCheckboxExcludeChildPrim; LLCheckBoxCtrl* mCheckboxExcludeNeighborRegions; };