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

Markus Neteler neteler at osgeo.org
Tue Jul 14 09:40:24 EDT 2009


On Mon, Jul 13, 2009 at 5:25 PM, Glynn Clements<glynn at gclements.plus.com> 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.

Markus


More information about the grass-dev mailing list