summaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
authorGravatar Maximilian Güntner <maximilian.guentner@gmail.com>2012-06-09 15:05:41 +0200
committerGravatar Maximilian Güntner <maximilian.guentner@gmail.com>2012-06-09 15:05:41 +0200
commitb7ae9ad5b16e680dfc4d976e877f77f6bb1a9e3a (patch)
tree1204885077930425ec245fcbd47c88c994a99db6 /profile.c
parent4229e89fc10590f12e969eba46d253d90db66b7d (diff)
downloadsubsurface-b7ae9ad5b16e680dfc4d976e877f77f6bb1a9e3a.tar.gz
use increments that make sense for 600 seconds
599/12 = 50, no need to use 5*60. Signed-off-by: Maximilian Güntner <maximilian.guentner@gmail.com>
Diffstat (limited to 'profile.c')
-rw-r--r--profile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/profile.c b/profile.c
index 4a505bd67..728409ec2 100644
--- a/profile.c
+++ b/profile.c
@@ -461,9 +461,9 @@ static void plot_depth_profile(struct graphics_context *gc, struct plot_info *pi
if (maxtime < 600)
{
increments[0] = 10;
- increments[1] = 30;
- increments[2] = 60;
- increments[3] = 5*60;
+ increments[1] = 20;
+ increments[2] = 30;
+ increments[3] = 60;
}
/* Time markers: at most every 5 min, but no more than 12 markers
* and for convenience we do 5, 10, 15 or 30 min intervals.