summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-04-21 12:38:19 +0800
committerErik Kundiman <erik@megapahit.org>2024-04-21 12:38:19 +0800
commitc82295910685c54acf597277e9dac0f70eb40239 (patch)
treebbab47667afad674512938d45910a3c66a9f1063 /indra
parent23a35d763bca645ce628d80ebd939c979590724c (diff)
Avoid GCC misleading indentation errors
Diffstat (limited to 'indra')
-rw-r--r--indra/llui/llflatlistview.cpp2
-rw-r--r--indra/newview/llspatialpartition.cpp2
-rw-r--r--indra/newview/llurldispatcher.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/indra/llui/llflatlistview.cpp b/indra/llui/llflatlistview.cpp
index fd4c33df30..6d4684fcee 100644
--- a/indra/llui/llflatlistview.cpp
+++ b/indra/llui/llflatlistview.cpp
@@ -1376,7 +1376,7 @@ bool LLFlatListViewEx::updateItemVisibility(LLPanel* item, const LLSD &action)
if (!item)
return false;
- BOOL visible = TRUE;
+ BOOL visible = TRUE;
// 0 signifies that filter is matched,
// i.e. we don't hide items that don't support 'match_filter' action, separators etc.
diff --git a/indra/newview/llspatialpartition.cpp b/indra/newview/llspatialpartition.cpp
index c4b72232c0..e30360d669 100644
--- a/indra/newview/llspatialpartition.cpp
+++ b/indra/newview/llspatialpartition.cpp
@@ -1324,7 +1324,7 @@ void drawBoxOutline(const LLVector3& pos, const LLVector3& size)
if (!pos.isFinite() || !size.isFinite())
return;
- LLVector3 v1 = size.scaledVec(LLVector3( 1, 1,1));
+ LLVector3 v1 = size.scaledVec(LLVector3( 1, 1,1));
LLVector3 v2 = size.scaledVec(LLVector3(-1, 1,1));
LLVector3 v3 = size.scaledVec(LLVector3(-1,-1,1));
LLVector3 v4 = size.scaledVec(LLVector3( 1,-1,1));
diff --git a/indra/newview/llurldispatcher.cpp b/indra/newview/llurldispatcher.cpp
index 07ea8a4ec6..fb0251e36b 100644
--- a/indra/newview/llurldispatcher.cpp
+++ b/indra/newview/llurldispatcher.cpp
@@ -139,7 +139,7 @@ bool LLURLDispatcherImpl::dispatch(const LLSLURL& slurl,
if (slurl.getType() == LLSLURL::EMPTY)
return true;
- const bool right_click = false;
+ const bool right_click = false;
return dispatchCore(slurl, nav_type, right_click, web, trusted_browser);
}