~cyphermox/ubuntu/precise/xscreensaver/merge-5.15-2

« back to all changes in this revision

Viewing changes to hacks/apple2-main.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:
279
279
  long *temp_err;
280
280
  int fs_scale = 1024;
281
281
  int brightness = 75;
282
 
  int fs_direction;
283
282
 
284
283
#if 0
285
284
  {
320
319
      this_berr[x] = random() % (fs_scale * 2) - fs_scale;
321
320
      /* (random errors in [-1 .. 1]) */
322
321
    }
323
 
  fs_direction = 1;
324
322
 
325
323
  for (y = 0; y < h; y++)
326
324
    for (x = 0; x < w; x++)
708
706
          basename = slash+1;
709
707
        }
710
708
      {
711
 
        char *dot=strchr(basename,'.');
 
709
        char *dot=strrchr(basename,'.');
712
710
        if (dot) *dot=0;
713
711
      }
714
712
      if (strlen(basename)>20) basename[20]=0;