[grisbi-cvs] grisbi/src gsb_real.c,1.66,1.67
Gunee
guneemwelloeux at users.sourceforge.net
Wed Jan 27 23:44:45 CET 2010
Update of /cvsroot/grisbi/grisbi/src
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv16317
Modified Files:
gsb_real.c
Log Message:
Rollback : Fixed decimal symbol problems when reading number from file (at gsb file opening)
Index: gsb_real.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_real.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -d -r1.66 -r1.67
--- gsb_real.c 23 Jan 2010 23:33:57 -0000 1.66
+++ gsb_real.c 27 Jan 2010 22:44:43 -0000 1.67
@@ -484,7 +484,7 @@
//~ printf ("result.mantissa = %ld result.exponent = %d\n", result.mantissa, result.exponent);
return result;
}
- else if ( strchr ( ".", *p ) || strchr (",", *p ) )
+ else if ( strchr ( ".", *p ) )
{
if ( dot_position >= 0 ) // already found a decimal separator
return error_real;
More information about the cvs
mailing list