commit | c4c8d13c0996fea659ce63c682c803e74c1abc8a | [log] [tgz] |
---|---|---|
author | cristy <urban-warrior@git.imagemagick.org> | Thu Jan 07 01:58:38 2010 +0000 |
committer | cristy <urban-warrior@git.imagemagick.org> | Thu Jan 07 01:58:38 2010 +0000 |
tree | 40f046a20bc05790b54ad2762542bb786767d306 | |
parent | 8cd5b3193212b4aebce08c4e7afbb66b09778029 [diff] [blame] |
diff --git a/coders/gray.c b/coders/gray.c index 4983aa3..9b6a222 100644 --- a/coders/gray.c +++ b/coders/gray.c
@@ -232,9 +232,9 @@ break; for (x=0; x < (long) image->columns; x++) { - q->red=p->red; - q->green=p->green; - q->blue=p->blue; + SetRedSample(q,GetRedSample(p)); + SetGreenSample(q,GetGreenSample(p)); + SetBlueSample(q,GetBlueSample(p)); p++; q++; }