diff options
Diffstat (limited to 'linden/indra/llui/llfloater.cpp')
-rw-r--r-- | linden/indra/llui/llfloater.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/linden/indra/llui/llfloater.cpp b/linden/indra/llui/llfloater.cpp index f6451a1..2033beb 100644 --- a/linden/indra/llui/llfloater.cpp +++ b/linden/indra/llui/llfloater.cpp | |||
@@ -2118,15 +2118,14 @@ void LLFloaterView::focusFrontFloater() | |||
2118 | 2118 | ||
2119 | void LLFloaterView::getMinimizePosition(S32 *left, S32 *bottom) | 2119 | void LLFloaterView::getMinimizePosition(S32 *left, S32 *bottom) |
2120 | { | 2120 | { |
2121 | S32 col = 0; | ||
2122 | LLRect snap_rect_local = getLocalSnapRect(); | 2121 | LLRect snap_rect_local = getLocalSnapRect(); |
2123 | for(S32 row = snap_rect_local.mBottom; | 2122 | for(S32 col = snap_rect_local.mLeft; |
2124 | row < snap_rect_local.getHeight() - LLFLOATER_HEADER_SIZE; | 2123 | col < snap_rect_local.getWidth() - MINIMIZED_WIDTH; |
2125 | row += LLFLOATER_HEADER_SIZE ) //loop rows | 2124 | col += MINIMIZED_WIDTH) |
2126 | { | 2125 | { |
2127 | for(col = snap_rect_local.mLeft; | 2126 | for(S32 row = snap_rect_local.mTop - LLFLOATER_HEADER_SIZE; |
2128 | col < snap_rect_local.getWidth() - MINIMIZED_WIDTH; | 2127 | row > LLFLOATER_HEADER_SIZE; |
2129 | col += MINIMIZED_WIDTH) | 2128 | row -= LLFLOATER_HEADER_SIZE) //loop rows |
2130 | { | 2129 | { |
2131 | bool foundGap = TRUE; | 2130 | bool foundGap = TRUE; |
2132 | for(child_list_const_iter_t child_it = getChildList()->begin(); | 2131 | for(child_list_const_iter_t child_it = getChildList()->begin(); |