diff options
Diffstat (limited to 'linden/indra/newview/lltoolbar.cpp')
-rw-r--r-- | linden/indra/newview/lltoolbar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/lltoolbar.cpp b/linden/indra/newview/lltoolbar.cpp index e3aa9a3..4120c2d 100644 --- a/linden/indra/newview/lltoolbar.cpp +++ b/linden/indra/newview/lltoolbar.cpp | |||
@@ -279,7 +279,7 @@ void LLToolBar::layoutButtons() | |||
279 | 279 | ||
280 | // We actually want to extend "pad" pixels off the right edge of the | 280 | // We actually want to extend "pad" pixels off the right edge of the |
281 | // screen, such that the rightmost button is aligned. | 281 | // screen, such that the rightmost button is aligned. |
282 | S32 segment_width = llround((F32)(width) / ((F32)count - 1.f)); | 282 | S32 segment_width = llround((F32)(width) / ((F32)count - 1.f)); // ignore chat button |
283 | S32 btn_width = segment_width - pad; | 283 | S32 btn_width = segment_width - pad; |
284 | 284 | ||
285 | // Evenly space all views | 285 | // Evenly space all views |
@@ -314,7 +314,7 @@ void LLToolBar::layoutButtons() | |||
314 | btn_view->reshape(r.getWidth(), r.getHeight()); | 314 | btn_view->reshape(r.getWidth(), r.getHeight()); |
315 | i--; | 315 | i--; |
316 | } | 316 | } |
317 | } | 317 | } |
318 | } | 318 | } |
319 | 319 | ||
320 | 320 | ||