diff options
author | Salvador Cuñat <salvador.cunat@gmail.com> | 2017-03-16 16:31:15 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-03-18 08:33:31 -0700 |
commit | 2cef8395b50cb1c3916744ab2117e8487ecd4d51 (patch) | |
tree | c7aa6b0f222c683da3a32b2d101d201a45e745d6 /desktop-widgets/tagwidget.cpp | |
parent | 9ddf2d2ad86ea0e64183af50099ac5d267f44c5c (diff) | |
download | subsurface-2cef8395b50cb1c3916744ab2117e8487ecd4d51.tar.gz |
smtk-import Use lrint() when rounding to integer values
As commented on mailing list. Most numerical values from libmdb are
doubles obtained via strtod(), so, rounding them instead of just
truncating seems the correct way.
Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com>
Diffstat (limited to 'desktop-widgets/tagwidget.cpp')
0 files changed, 0 insertions, 0 deletions