[PATCH v2 2/2] Reorder info in information window

Anton Lundin glance at acc.umu.se
Wed Nov 13 10:20:10 UTC 2013


When moving along the plot, its hard to look at a certain value when its
place in the info box moves due to that values are added above it. This
moves the stable values up top in the info box and the values that comes
and goes further down, so that the box expands downwards.

Signed-off-by: Anton Lundin <glance at acc.umu.se>
---
 profile.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/profile.c b/profile.c
index 8370242..5d9cb51 100644
--- a/profile.c
+++ b/profile.c
@@ -1276,10 +1276,6 @@ static void plot_string(struct plot_data *entry, char *buf, int bufsize,
 		memcpy(buf2, buf, bufsize);
 		snprintf(buf, bufsize, translate("gettextFromC","%s\nNDL:%umin"), buf2, DIV_UP(entry->ndl, 60));
 	}
-	if (entry->sac && prefs.show_sac) {
-		memcpy(buf2, buf, bufsize);
-		snprintf(buf, bufsize, translate("gettextFromC","%s\nSAC:%2.1fl/min"), buf2, entry->sac / 1000.0);
-	}
 	if (entry->stopdepth_calc && entry->stoptime_calc) {
 		depthvalue = get_depth_units(entry->stopdepth_calc, NULL, &depth_unit);
 		memcpy(buf2, buf, bufsize);
-- 
1.8.3.2



More information about the subsurface mailing list