diff options
author | Anton Lundin <glance@acc.umu.se> | 2013-11-13 19:20:10 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-11-14 07:10:49 +0900 |
commit | 179a5f6f33fc4635cdb65e757370f267973a5e88 (patch) | |
tree | 5fad153823d13c998025749606850128e0b922fb /profile.c | |
parent | 39a4e38eea0b15a7fede2e56d043fd980462b583 (diff) | |
download | subsurface-179a5f6f33fc4635cdb65e757370f267973a5e88.tar.gz |
Remove duplicated SAC data from information overlay
When reordering the info overlay content to make it jump around less,
somehow the SAC data got printed twice.
[Dirk Hohndel: rewrote incorrect commit message]
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile.c')
-rw-r--r-- | profile.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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); |