diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-20 13:55:55 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-20 13:55:55 +0300 |
commit | 45d4d5ecdec6d02b2564d512cd95118f474855e8 (patch) | |
tree | 9a1e5f93ee1ae15cea4444d1517794ec73e072fa /profile.c | |
parent | 04f372f8aa5b4f9ba462e0e93b76f3dde6af00f1 (diff) | |
download | subsurface-45d4d5ecdec6d02b2564d512cd95118f474855e8.tar.gz |
Fix up multi-cylinder code as per Dirk
Too much cut-and-paste, as Dirk points out. With multiple cylinders,
we're not necessarily going to start at time zero.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'profile.c')
-rw-r--r-- | profile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -508,7 +508,7 @@ static void plot_cylinder_pressure(struct graphics_context *gc, struct plot_info if (entry->same_cylinder) line_to(gc, entry->sec, mbar); else - move_to(gc, 0, pi->maxpressure); + move_to(gc, entry->sec, mbar); } /* if we have valid samples, we don't want to draw a line to the minpressure * but just end wherever the dive ended (think valve shutdowns during dive) |