0022898: IGES import fails in german environment
[occt.git] / src / WNT / WNT_GraphicDevice.cxx
index d5f4330..5595774 100755 (executable)
@@ -600,7 +600,7 @@ static int __fastcall _createColorRamp ( HPALETTE* pal ) {
 
  if (  GetEnvironmentVariable ( "CSF_GammaValue", buff, 32 )  ) {
  
-  gamma = atof ( buff );
+  gamma = Atof ( buff );
 
   if ( gamma == 0.0 )