diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-02 20:35:35 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-01-02 21:17:41 -0800 |
commit | cb53a7867486c89397f1f83eb89d19511ec215ae (patch) | |
tree | 39435bd19b8f1147c4a6cb969be609628755d490 /subsurface.pro | |
parent | 5511a0e14efdb96c7622adf11185ea741cdb5226 (diff) | |
download | subsurface-cb53a7867486c89397f1f83eb89d19511ec215ae.tar.gz |
Make our 'ascii_strtod()' helper more generic
We'll want to do sane parsing of strings, but the C library makes it
hard to handle user input sanely and the Qt toDouble() function
interface was designed by a retarded chipmunk.
So just extend our existing hacky "ascii_strtod()" to allow a more
generic interface.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface.pro')
-rw-r--r-- | subsurface.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/subsurface.pro b/subsurface.pro index ad5af3061..3d07eced7 100644 --- a/subsurface.pro +++ b/subsurface.pro @@ -98,6 +98,7 @@ SOURCES = \ save-xml.c \ sha1.c \ statistics.c \ + strtod.c \ subsurfacestartup.c \ time.c \ uemis.c \ |