r.colors

Hi all !

Concerning the bugfix for r.colors:

- right now, i have a working r.colors, but i am only using converted
integer maps from GRASS4.2, so I don´t know what happens when using:
fp-maps !!

The fix is simple: $GISBASE/src/raster/r.colors/cmd/rules.c:

line 46: replace

  if (!set) {
with:
  if (set) {

Now the rules-mode of r.colors is working.

Hope this helps,

Michael

==============================================================
Michael Schulz

Christoph-Mang-Str.5 Geologisches Institut
79100 Freiburg Universitaet Freiburg
                           Albertstr. 23b
                           79104 Freiburg