diff options
author | McCabe Maxsted | 2009-03-01 04:23:25 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-03-01 04:23:25 -0700 |
commit | c11c9ac087cfb9a5f7c63e37a7119121c7f39ad1 (patch) | |
tree | 02480905a976faf5dd1ca1855d94f124b00915e3 /linden/indra | |
parent | Backported possible crash fix while changing graphics settings from 1.22 (diff) | |
download | meta-impy-c11c9ac087cfb9a5f7c63e37a7119121c7f39ad1.zip meta-impy-c11c9ac087cfb9a5f7c63e37a7119121c7f39ad1.tar.gz meta-impy-c11c9ac087cfb9a5f7c63e37a7119121c7f39ad1.tar.bz2 meta-impy-c11c9ac087cfb9a5f7c63e37a7119121c7f39ad1.tar.xz |
Backported possible crash fix in llfloater.cpp from 1.22
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llui/llfloater.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linden/indra/llui/llfloater.cpp b/linden/indra/llui/llfloater.cpp index 9f8cd65..2f4e873 100644 --- a/linden/indra/llui/llfloater.cpp +++ b/linden/indra/llui/llfloater.cpp | |||
@@ -1580,6 +1580,7 @@ void LLFloater::updateButtons() | |||
1580 | S32 button_count = 0; | 1580 | S32 button_count = 0; |
1581 | for (S32 i = 0; i < BUTTON_COUNT; i++) | 1581 | for (S32 i = 0; i < BUTTON_COUNT; i++) |
1582 | { | 1582 | { |
1583 | if(!mButtons[i]) continue; | ||
1583 | mButtons[i]->setEnabled(mButtonsEnabled[i]); | 1584 | mButtons[i]->setEnabled(mButtonsEnabled[i]); |
1584 | 1585 | ||
1585 | if (mButtonsEnabled[i] | 1586 | if (mButtonsEnabled[i] |