~ubuntu-branches/ubuntu/raring/xscreensaver/raring

« back to all changes in this revision

Viewing changes to hacks/fadeplot.c

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2010-11-17 15:40:52 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20101117154052-w4ou7vty38gpp1r3
Tags: 5.12-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
202
202
        if ((fp->temps % (fp->angles / 2)) == 0) {
203
203
                fp->temps = fp->temps % fp->angles * 5;
204
204
                if ((fp->temps % (fp->angles)) == 0)
205
 
                        fp->speed.y = (fp->speed.y++) % 30 + 1;
 
205
                        fp->speed.y = (fp->speed.y + 1) % 30 + 1;
206
206
                if ((fp->temps % (fp->angles * 2)) == 0)
207
207
                        fp->speed.x = (fp->speed.x) % 20;
208
208
                if ((fp->temps % (fp->angles * 3)) == 0)
209
 
                        fp->step.y = (fp->step.y++) % 2 + 1;
 
209
                        fp->step.y = (fp->step.y + 1) % 2 + 1;
210
210
 
211
211
                MI_CLEARWINDOW(mi);
212
212
        }