summaryrefslogtreecommitdiffstats
path: root/subsurface.pro
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2014-01-02 20:35:35 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-02 21:17:41 -0800
commitcb53a7867486c89397f1f83eb89d19511ec215ae (patch)
tree39435bd19b8f1147c4a6cb969be609628755d490 /subsurface.pro
parent5511a0e14efdb96c7622adf11185ea741cdb5226 (diff)
downloadsubsurface-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.pro1
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 \