diff options
author | Maximilian Güntner <maximilian.guentner@gmail.com> | 2012-06-09 15:05:41 +0200 |
---|---|---|
committer | Maximilian Güntner <maximilian.guentner@gmail.com> | 2012-06-09 15:05:41 +0200 |
commit | b7ae9ad5b16e680dfc4d976e877f77f6bb1a9e3a (patch) | |
tree | 1204885077930425ec245fcbd47c88c994a99db6 /profile.c | |
parent | 4229e89fc10590f12e969eba46d253d90db66b7d (diff) | |
download | subsurface-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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. |