Re: [AD] Zero sized bitmaps

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


--- Matthew Leverton wrote:
> However, the documentation says:
> 
> * The minimum height of the BITMAP must be 1 and
> width can't be negative
> * Return value: Returns a pointer to the created
> bitmap, or NULL if
> the bitmap could not be created.
> 
> To me, that implies that a height of 0 cannot be
> created and will return NULL.
> 
> So, I would lean toward your first patch of
> returning NULL. If nothing
> is done, then the documentation should be updated to
> clarify what is
> meant by "cannot be created."

I agree.

> 
> --
> Matthew Levertion

Also on the second patch, are you sure you didn't mean
MAX Evert?




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/