# fast_atof: fix comma handling.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1209 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
pull/5/head
aramis_acg 2012-03-20 16:29:57 +00:00
parent d2e36b7a37
commit 687a4644d6
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ inline const char* fast_atoreal_move( const char* c, Real& out)
}
f = static_cast<Real>( strtoul10_64 ( c, &c) );
if (*c == '.' || (c[0] == ',' && (c[1] >= '0' || c[1] <= '9'))) // allow for commas, too
if (*c == '.' || (c[0] == ',' && c[1] >= '0' && c[1] <= '9')) // allow for commas, too
{
++c;