Re: [AD] Zero sized bitmaps

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


On Monday 22 August 2005 03:47 pm, AJ wrote:
> what if after you create a 0x1 or 1x0 (which ever it was that was
> allowed) and you attempt to access the ->line[] will that cause a crash ?

Yes. Anything * 0 is 0, which means dat would be 0 bytes long. And since 
line[] pointers are derived from the dat pointer..




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