Red Hat Linux
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
You seem to have CSS turned off.
Please don't fill out this field.
Briefly describe the problem (required):
Please provide the ad click URL, if possible:
Update of /cvsroot/tuxpaint/tuxpaint/src
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv7700/src
Fix bug in special_notify(). Reproducable crash on win32 after exactly 40 flips or mirrors. Was (probably) corrupting an element in SDL_Surface *undo_bufs.
RCS file: /cvsroot/tuxpaint/tuxpaint/src/tuxpaint.c,v
retrieving revision 1.616
retrieving revision 1.617
diff -u -d -r1.616 -r1.617
--- tuxpaint.c 11 Dec 2007 16:05:43 -0000 1.616
+++ tuxpaint.c 25 Dec 2007 00:22:02 -0000 1.617
@@ -17019,7 +17019,8 @@
- tmp_int = (cur_undo - 1) % NUM_UNDO_BUFS;
+ tmp_int = cur_undo - 1;
+ if (tmp_int < 0) tmp_int = NUM_UNDO_BUFS - 1;
if (flags & SPECIAL_MIRROR)
Sign up for the SourceForge newsletter: