Patch committed.  Thanks!

On 9/26/2016 6:53 AM, Cirilo Bernardo wrote:
> The attached patch changes a test for invalid numeric strings
> in VRML1,2 and X3D files. The long-winded and convoluted
> tests similar in form to:
> 
>     istr >> aSFFloat;
>     tmp.clear();
>     istr >> tmp;
> 
>     if( !tmp.empty() )
> 
> Are replaced with a more obvious and shorter test:
> 
>     istr >> aSFFloat;
>     if( istr.fail() || !istr.eof() )
> 
> - Cirilo
> 
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : [email protected]
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 


_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to