diff --git a/indra/newview/llpanelface.cpp b/indra/newview/llpanelface.cpp
index 01b809ec9095b1a18183896d1e2aaad71379ed63..1bf655debbe88249e9127923ec28f5850622eca8 100755
--- a/indra/newview/llpanelface.cpp
+++ b/indra/newview/llpanelface.cpp
@@ -1177,7 +1177,7 @@ void LLPanelFace::updateUI()
 			bool identical_spec_repeats = false;
 
 			LLSelectedTE::getMaxDiffuseRepeats(repeats_spec, identical_spec_repeats);
-			LLSelectedTEMaterial::getMaxNormalRepeats(repeats_spec, identical_spec_repeats);
+			LLSelectedTEMaterial::getMaxNormalRepeats(repeats_norm, identical_norm_repeats);
 			LLSelectedTEMaterial::getMaxSpecularRepeats(repeats_spec, identical_spec_repeats);			
 
 			LLComboBox*	mComboTexGen = getChild<LLComboBox>("combobox texgen");