[GRASS-dev] move d.vect's test_bg_color() to verbose mode?

Hi,

If color=white for fcolor=white, d.vect gives

WARNING: Line color and background color are the same!

http://freegis.org/cgi-bin/viewcvs.cgi/grass6/display/d.vect/main.c.diff?r1=1.58&r2=1.59

But when plotting over a raster or different d.erase color, this warning
is superfluous. Should it be changed to only make noise in -v verbose
mode? (or G_debug(1,))

Hamish

2006/5/22, Hamish <hamish_nospam@yahoo.com>:

Hamish,

I agree with you, I hope that the attached patch is acceptable... I
think the better way is to move this warning to verbose mode.

Best regards,

Martin

If color=white for fcolor=white, d.vect gives

WARNING: Line color and background color are the same!

http://freegis.org/cgi-bin/viewcvs.cgi/grass6/display/d.vect/main.c.diff?r1=1.58&r2=1.59

But when plotting over a raster or different d.erase color, this warning
is superfluous. Should it be changed to only make noise in -v verbose
mode? (or G_debug(1,))

Hamish

_______________________________________________
grass-dev mailing list
grass-dev@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass-dev

(attachments)

d_vect_test_background-2006-05-23.diff.gz (1.55 KB)