[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] 1.5.6 release



If this is the same as what is in CVS, then there is a little bug in the
Rect code. Sorry - I meant to report this some time ago. It shows up when
you are setting rect.right and rect.bottom.



Index: src/rect.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/games/pygame/src/rect.c,v
retrieving revision 1.40
diff -r1.40 rect.c
106c106
<  r->y = val - r->h;
---
>  r->h = val - r->y;
116c116
<  r->x = val - r->w;
---
>  r->w = val - r->x;


Cheers,
Brett