diff options
Diffstat (limited to 'linden/indra/newview/llfloaterwindlight.cpp')
-rw-r--r-- | linden/indra/newview/llfloaterwindlight.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llfloaterwindlight.cpp b/linden/indra/newview/llfloaterwindlight.cpp index 8f2eafb..52d6e14 100644 --- a/linden/indra/newview/llfloaterwindlight.cpp +++ b/linden/indra/newview/llfloaterwindlight.cpp | |||
@@ -873,7 +873,7 @@ void LLFloaterWindLight::onSavePreset(LLUICtrl* ctrl, void* userData) | |||
873 | { | 873 | { |
874 | // Make sure we have a ".wl" extension. | 874 | // Make sure we have a ".wl" extension. |
875 | std::string name = comboBox->getSelectedItemLabel(); | 875 | std::string name = comboBox->getSelectedItemLabel(); |
876 | if(name.length() > 2 && name.compare(name.length() - 3, 3, ".wl") != 0) | 876 | if(!LLWLParamManager::isSkySettingsNotecard(name)) |
877 | { | 877 | { |
878 | name += ".wl"; | 878 | name += ".wl"; |
879 | } | 879 | } |