mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Undo one lrint change
As here we actually do want the rounded floatingpoint value. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b8af3733ec
commit
11a8ab6b1b
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ static enum number_type parse_float(const char *buffer, double *res, const char
|
|||
if (errno || *endp == buffer)
|
||||
return NEITHER;
|
||||
if (**endp == ',') {
|
||||
if (IS_FP_SAME(val, lrint(val))) {
|
||||
if (IS_FP_SAME(val, rint(val))) {
|
||||
/* we really want to send an error if this is a Subsurface native file
|
||||
* as this is likely indication of a bug - but right now we don't have
|
||||
* that information available */
|
||||
|
|
Loading…
Reference in a new issue