diff options
author | Kelly Washington <kelly@lindenlab.com> | 2012-12-13 11:14:16 -0800 |
---|---|---|
committer | Kelly Washington <kelly@lindenlab.com> | 2012-12-13 11:14:16 -0800 |
commit | 00ebeaba581c5ed1686458502091ac8a30c75237 (patch) | |
tree | 6769965134bd60b1e3e73057915eee1d2bdaf30a /indra/llui | |
parent | 70c6b0859578dfb04d8e53656a60f242240b9cbe (diff) |
Fix line endings.
Diffstat (limited to 'indra/llui')
-rw-r--r-- | indra/llui/llscrolllistctrl.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/indra/llui/llscrolllistctrl.cpp b/indra/llui/llscrolllistctrl.cpp index 5b0894b064..d332aa933e 100644 --- a/indra/llui/llscrolllistctrl.cpp +++ b/indra/llui/llscrolllistctrl.cpp @@ -580,13 +580,13 @@ BOOL LLScrollListCtrl::addItem( LLScrollListItem* item, EAddPosition pos, BOOL r addColumn(col_params); } - S32 num_cols = item->getNumColumns();
- S32 i = 0;
- for (LLScrollListCell* cell = item->getColumn(i); i < num_cols; cell = item->getColumn(++i))
- {
- if (i >= (S32)mColumnsIndexed.size()) break;
-
- cell->setWidth(mColumnsIndexed[i]->getWidth());
+ S32 num_cols = item->getNumColumns(); + S32 i = 0; + for (LLScrollListCell* cell = item->getColumn(i); i < num_cols; cell = item->getColumn(++i)) + { + if (i >= (S32)mColumnsIndexed.size()) break; + + cell->setWidth(mColumnsIndexed[i]->getWidth()); } updateLineHeightInsert(item); |