Re: [AD] minor change to exquat |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Chris wrote:
Peter Wang wrote:- for (index=0; index<(NUM_STEPS+1); index++) { + clear_keybuf(); + + for (index=0; !keypressed() && index<(NUM_STEPS+1); index++) {I think it would be cleaner to put: if(keypressed()) break;at the start of the loop instead of embedding the !keypressed() check in the for() statement. IMO.
I committed Chris' version.
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |