diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-20 16:45:33 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-20 16:45:33 -0700 |
commit | e276b0602bf9b5953f237e67663ee0d3d8d1163b (patch) | |
tree | 4e5ca877b30cb3be6df072da11c3a80a3ebe73fd /profile.c | |
parent | f627dde02305f0bee1183ed8a968dc7ad041dab5 (diff) | |
download | subsurface-e276b0602bf9b5953f237e67663ee0d3d8d1163b.tar.gz |
Don't show the smoothed dive profile or the min/max info
It was good for debugging, it's not something we really want to show people.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'profile.c')
-rw-r--r-- | profile.c | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -295,8 +295,14 @@ static void plot_depth_profile(struct graphics_context *gc, struct plot_info *pi gc->leftx = 0; gc->rightx = maxtime; - plot_smoothed_profile(gc, pi); - plot_minmax_profile(gc, pi); + /* + * These are good for debugging text placement etc, + * but not for actual display.. + */ + if (0) { + plot_smoothed_profile(gc, pi); + plot_minmax_profile(gc, pi); + } entry = pi->entry; set_source_rgba(gc, 1, 0.2, 0.2, 0.80); |