On Thu, Sep 03, 2009 at 01:32:20PM +0300, Karri Kaksonen wrote: > >int getOffY(Pile *pile, int card_in_pile, unsigned char start, > >unsigned char end, int ds) > > By making "end" and "start" integers the routine works as intended. Yes, I've already found the problem. The unsigned compares don't work when both numbers are equal. By changing them to ints you use the (working) signed compares. I will look for a solution, just give me some time. Thanks for the report! Uz -- Ullrich von Bassewitz uz@musoftware.de ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Thu Sep 3 12:35:45 2009
This archive was generated by hypermail 2.1.8 : 2009-09-03 12:35:47 CEST