]> git.tdb.fi Git - ext/subsurface.git/commitdiff
Merge branch 'grid-to-back' of git://github.com/henrik242/subsurface
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Dec 2011 18:58:06 +0000 (10:58 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Dec 2011 18:58:06 +0000 (10:58 -0800)
* 'grid-to-back' of git://github.com/henrik242/subsurface:
  Move depth/time grid back

profile.c

index cb0bc2d5da0a9e993e036112e11020ad7ce27030..5d5aff5187776971f53331d023937438444b5b67 100644 (file)
--- a/profile.c
+++ b/profile.c
@@ -1382,13 +1382,13 @@ void plot(struct graphics_context *gc, cairo_rectangle_int_t *drawing_area, stru
        gc->maxx = (drawing_area->width - 2*drawing_area->x);
        gc->maxy = (drawing_area->height - 2*drawing_area->y);
 
-       /* Temperature profile */
-       plot_temperature_profile(gc, pi);
-
        /* Depth profile */
        plot_depth_profile(gc, pi);
        plot_events(gc, pi, dive);
 
+       /* Temperature profile */
+       plot_temperature_profile(gc, pi);
+
        /* Cylinder pressure plot */
        plot_cylinder_pressure(gc, pi, dive);