Re: [AD] very small fix for MIDI.c

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


Javier González <xaviergonz@xxxxxxxxxx> wrote:
> 
> data = pack_mgetw(fp);                    /* MIDI file type */
> if ((data != 0) && (data != 1))
>   goto err;
> check that if
> suppose data is 0.... it wont go err
> suppose data is 1.... it wont go err
> suppose data is 3... it wont go err!

Err, read the line again.



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