[PATCH] fixed #404 Corrects volumes of cylinders

Anton Lundin glance at acc.umu.se
Mon Mar 23 08:08:30 PDT 2015


On 22 March, 2015 - Harshal Jalan wrote:

> The volumes of cylinders displayed in equipments tab was wrong. It was
> corrected by changing data about the cylinders in the code.
> Please have a look at the attached patch and suggest changes...
> 
> Harshal Jalan

> From f6adc09d5aa9d8a5a9f958c318e14d2dc62dd781 Mon Sep 17 00:00:00 2001
> From: Harshal Jalan <harshal.jalan at gmail.com>
> Date: Sun, 22 Mar 2015 22:30:07 +0530
> Subject: [PATCH] [PATCH] Fixed #404 Corrects volumes of cylinders
>  The volumes of cylinders displayed in equipments tab was wrong.
>  It was corrected by changing data about the cylinders in the code.
> 
> Signed-off-by: Harshal Jalan <harshal.jalan at gmail.com>
> ---
>  equipment.c | 30 +++++++++++++++---------------
>  1 file changed, 15 insertions(+), 15 deletions(-)
> 
> diff --git a/equipment.c b/equipment.c
> index aebac51..dfde924 100644
> --- a/equipment.c
> +++ b/equipment.c
> @@ -141,28 +141,28 @@ struct tank_info_t tank_info[100] = {
>  	{ "11.1ℓ", .ml = 11100 },
>  
>  	/* Most common AL cylinders */
> -	{ "AL40", .cuft = 40, .psi = 3000 },
> -	{ "AL50", .cuft = 50, .psi = 3000 },
> -	{ "AL63", .cuft = 63, .psi = 3000 },
> -	{ "AL72", .cuft = 72, .psi = 3000 },
> -	{ "AL80", .cuft = 80, .psi = 3000 },
> -	{ "AL100", .cuft = 100, .psi = 3300 },
> +    { "AL40", .ml = 5700, .bar = 207 },
> +    { "AL50", .ml = 6900, .bar = 207 },
> +    { "AL63", .ml = 9000, .bar = 207 },
> +    { "AL72", .ml = 6900, .bar = 207 },
> +    { "AL80", .ml = 11100, .bar = 207 },
> +    { "AL100", .ml = 13200, .bar = 228 },

There's four spaces as indentation here. It should be one tab.

//Anton

-- 
Anton Lundin	+46702-161604


More information about the subsurface mailing list