mirror of
https://github.com/CrowCpp/Crow.git
synced 2024-06-07 21:10:44 +00:00
formatting
This commit is contained in:
parent
ecc06fa0b3
commit
454dabdba2
@ -1852,9 +1852,9 @@ namespace crow
|
||||
case start: // Loop and lookahead until a decimal point is found
|
||||
if (ch == '.')
|
||||
{
|
||||
char fch = *(p + 1);
|
||||
char fch = *(p + 1);
|
||||
// if the first character is 0, leave it be (this is so that "1.00000" becomes "1.0" and not "1.")
|
||||
if ( fch != '\0' && fch == '0') p++;
|
||||
if (fch != '\0' && fch == '0') p++;
|
||||
f_state = decp;
|
||||
}
|
||||
p++;
|
||||
|
Loading…
Reference in New Issue
Block a user