diff --git a/indra/newview/llvosky.cpp b/indra/newview/llvosky.cpp
index 370322cd454f2314c627afd426717a0a01f8fae1..d8bf0181acc3a72a55b83ab556e9086ff0792384 100644
--- a/indra/newview/llvosky.cpp
+++ b/indra/newview/llvosky.cpp
@@ -1072,7 +1072,7 @@ BOOL LLVOSky::updateSky()
 		LLHeavenBody::setInterpVal( mInterpVal );
 		calcAtmospherics();
 
-		if (!gPipeline.canUseWindlightShaders() && mForceUpdate || total_no_tiles == frame)
+		if (!gPipeline.canUseWindLightShaders() && mForceUpdate || total_no_tiles == frame)
 		{
 			LLSkyTex::stepCurrent();