summaryrefslogtreecommitdiffstats
path: root/qt-ui/graphicsview-common.h
diff options
context:
space:
mode:
authorGravatar Gehad <gehadelrobey@gmail.com>2014-04-05 13:01:34 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-04-05 16:10:11 -0700
commitcb3436b42eecdb0a058ed565709804292b80469b (patch)
tree8cf631a40536e4f3026c8ed9a03e34766d328a00 /qt-ui/graphicsview-common.h
parent62e4c4069b517e97660452edd70f65d3cdb15e35 (diff)
downloadsubsurface-cb3436b42eecdb0a058ed565709804292b80469b.tar.gz
Use helper function to write decimal numbers
Never ever use '%f' to write floating point data to a file. The stupid locale handling creates useless comma-infested output in some locales. Instead use one of our clever helper functions to do the right thing. Original patch by Gehad, modified by Linus to be a little more generic. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/graphicsview-common.h')
0 files changed, 0 insertions, 0 deletions