[GRASS-dev] r.recode: behaviour at limits

Glynn Clements glynn at gclements.plus.com
Tue Jul 14 13:43:32 EDT 2009


Markus Neteler wrote:

> > BTW, libraster needs reformatting; the change of prefix from G_* to
> > Rast* means that parameter lists which are split over multiple lines
> > no longer align, e.g.:
> >
> > void Rast_fpreclass_add_rule(struct FPReclass *r,
> >                          DCELL dLow, DCELL dHigh,
> >                          DCELL rLow, DCELL rHigh)
> 
> I have tried but the script in tools/ is introducing
> ugly vertical white space in the variable definitions, e.g.
> 
> @@ -28,8 +30,11 @@
>  static int organize_fp_lookup(struct Colors *colors, int mod)
>  {
>      int i;
> +
>      DCELL val;
> +
>      struct _Color_Info_ *cp;
> +
>      struct _Color_Rule_ *rule;
> 
> Some "indent" magic apparently.

I can't reproduce this, and grass_indent.sh passes -npro to indent
so it shouldn't be affected by any .indent.pro files.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list