diff options
author | Seppo Takalo <seppo.takalo@iki.fi> | 2017-09-14 23:06:37 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-09-15 08:57:03 -0700 |
commit | f7db0c705b71fb30d140e350b70ce6c2c7aa4631 (patch) | |
tree | caf2f77586ec14a42e4d8bd7795971f6edf04573 /desktop-widgets/divecomponentselection.ui | |
parent | d37bb466fea2505d8ba7163febbb5bb03d46548e (diff) | |
download | subsurface-f7db0c705b71fb30d140e350b70ce6c2c7aa4631.tar.gz |
Convert usage of atof() to strtod_flags()
The provided strod_flags(str, 0, 0) should work as a drop in replacement
for atof() but does not care about locales which may cause atof() to fail.
strtod_flags() would allow checking of conversion result, but I did not
change the existing logic. This was just regexp search&replace change
to get rid of atof(). I use flags 0 to get more relaxed conversion.
Fixes #574
Signed-off-by: Seppo Takalo <seppo.takalo@iki.fi>
Diffstat (limited to 'desktop-widgets/divecomponentselection.ui')
0 files changed, 0 insertions, 0 deletions