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 /qt-gui.cpp | |
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 'qt-gui.cpp')
0 files changed, 0 insertions, 0 deletions