mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
profile: don't add excessive depth
The old get_maxdepth() function in profile.c was accounting for two things: - the partial pressure graphs - rounding to sane value Both are now taken care of by the profile itself. This leads to excessive max-depths. Remove the code from profile.c. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
de71435c11
commit
725fda3cd1
2 changed files with 5 additions and 18 deletions
|
@ -95,9 +95,7 @@ extern void free_plot_info_data(struct plot_info *pi);
|
|||
*/
|
||||
extern int get_maxtime(const struct plot_info *pi);
|
||||
|
||||
/* get the maximum depth to which we want to plot
|
||||
* take into account the additional verical space needed to plot
|
||||
* partial pressure graphs */
|
||||
/* get the maximum depth to which we want to plot */
|
||||
extern int get_maxdepth(const struct plot_info *pi);
|
||||
|
||||
static inline int get_plot_pressure_data(const struct plot_info *pi, int idx, enum plot_pressure sensor, int cylinder)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue