diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-05-19 07:37:58 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-05-19 07:48:28 -0700 |
commit | 7836a78dca42da91abeaec9f6c28a063ddfb1716 (patch) | |
tree | 0b9aef9a98a1b6fed9576f5cc2ffd575d4cc616c /packaging/ios/Subsurface-mobile/Subsurface-mobile.pro | |
parent | 555f2f9565c28abcbaf2fab018860b3d4cc1d434 (diff) | |
download | subsurface-7836a78dca42da91abeaec9f6c28a063ddfb1716.tar.gz |
Profile: minor coding style issues concerning axis-ticks
1) Fix the English of a comment.
2) Remove a number of int-to-double compares:
Make "steps" an integer variable (the number of steps).
Rename the old double "steps" variable to "stepsInRange". This gives
a non-integer number of steps and is necessary to calculate the
correct step size
3) Replace a "x = x/y" by a "x /= y" construct.
4) Remove an unnecessary if clause.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'packaging/ios/Subsurface-mobile/Subsurface-mobile.pro')
0 files changed, 0 insertions, 0 deletions