Show
Ignore:
Timestamp:
06/25/09 16:06:29 (5 years ago)
Author:
robert
Message:

From Mathias Froehlich, changes from atof to use osg::asciiToFloat() to avoid locale issues with atof

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins/cfg/ConfigParser.cpp

    r9756 r10413  
    19331933 
    19341934    { 
    1935         yyval.real = atof(flexer->YYText()); 
     1935        yyval.real = osg::asciiToFloat(flexer->YYText()); 
    19361936    ;} 
    19371937    break; 
     
    19401940 
    19411941    { 
    1942         yyval.real = atof(flexer->YYText()); 
     1942        yyval.real = osg::asciiToFloat(flexer->YYText()); 
    19431943    ;} 
    19441944    break; 
     
    19471947 
    19481948    { 
    1949         yyval.real = atof(flexer->YYText()); 
     1949        yyval.real = osg::asciiToFloat(flexer->YYText()); 
    19501950    ;} 
    19511951    break;