Re: [AD] Zero sized bitmaps

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


On Tuesday 23 August 2005 01:10, AJ wrote:
> so if bmp->h=1 and i<bmp->h  i=0 would be valid, so i would then do 
> line[0][0] and that would crash as there is zero width ?

So why aren't you checking that your second index <bmp->w?

Evert




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