diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2011-09-16 20:53:05 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2011-09-16 20:53:05 -0700 |
commit | d5b102bdf3c2f1e78c51fe8b81e8ff134c30d012 (patch) | |
tree | 09d47c3c211d3c71bfb2f9f0c3697c95a8c24018 /profile.c | |
parent | bbf5f960e11982551a3fd873c4432964ec2a0717 (diff) | |
download | subsurface-d5b102bdf3c2f1e78c51fe8b81e8ff134c30d012.tar.gz |
Flip tank pressure graph to show the RIGHT way
This annoyed me from the first moment Linus added the tank pressure graph.
As the pressure goes down, the graph needs to go down. Seriously.
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
@@ -441,7 +441,7 @@ static int get_cylinder_pressure_range(struct graphics_context *gc, struct plot_ gc->leftx = 0; gc->rightx = get_maxtime(pi); - gc->topy = 0; gc->bottomy = pi->maxpressure * 1.5; + gc->bottomy = 0; gc->topy = pi->maxpressure * 1.5; return pi->maxpressure != 0; } |