+ applied mapnik-image-data-setrow-size.patch (jonb)

This commit is contained in:
Artem Pavlenko 2009-01-15 00:56:56 +00:00
parent a3f1e664be
commit 7395363258

View file

@ -121,7 +121,7 @@ namespace mapnik
inline void setRow(unsigned row,const T* buf,unsigned size)
{
assert(row<height_);
assert(size<=(width_*sizeof(T)));
assert(size<=width_);
memcpy(pData_+row*width_,buf,size*sizeof(T));
}
inline void setRow(unsigned row,unsigned x0,unsigned x1,const T* buf)