From a06d93217f1eded198e39d971a9286539f82b5c5 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Tue, 6 Sep 2011 19:28:31 -0700 Subject: Start doing gas management using output units Ok, it's an odd place to start, but this now shows the pressure curve details and the air usage in the proper units. Signed-off-by: Linus Torvalds --- main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main.c') diff --git a/main.c b/main.c index 9ef4fa0b4..e516d38c8 100644 --- a/main.c +++ b/main.c @@ -205,11 +205,13 @@ static void quit(GtkWidget *w, gpointer data) static void imperial(GtkWidget *w, gpointer data) { output_units = IMPERIAL_units; + repaint_dive(); } static void metric(GtkWidget *w, gpointer data) { output_units = SI_units; + repaint_dive(); } static GtkActionEntry menu_items[] = { -- cgit v1.2.3-70-g09d2