diff options
author | Amit Chaudhuri <amit.k.chaudhuri@gmail.com> | 2013-05-10 23:56:05 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-05-10 16:01:17 -0700 |
commit | 97a044d41f67757de1e5bd0694f6502af1be4f4c (patch) | |
tree | 72e6b235c2dd3ff0bb4da33418a904e4f79a73ba /profile.c | |
parent | 1245c232dba019d5a87102b93c1a011e0998b47c (diff) | |
download | subsurface-97a044d41f67757de1e5bd0694f6502af1be4f4c.tar.gz |
Tweaks to maintab
Align statistics tab labels as per infotab.
Amend helper function to show degree symbol for temp measurements.
Change order of member initialisation list to match order of decl
(ProfileGraphicsView::ProfileGraphicsView)
Signed-off-by: Amit Chaudhuri <amit.k.chaudhuri@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile.c')
-rw-r--r-- | profile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -263,7 +263,7 @@ int get_cylinder_pressure_range(struct graphics_context *gc) return FALSE; while (gc->pi.endtempcoord <= SCALEY(gc, gc->pi.minpressure - (gc->topy) * 0.1)) - gc->bottomy -= gc->topy * 0.1; + gc->bottomy -= gc->topy * 0.1 * gc->maxy/abs(gc->maxy); return TRUE; } |