~ubuntu-branches/ubuntu/quantal/xscreensaver/quantal

« back to all changes in this revision

Viewing changes to hacks/analogtv.c

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2010-06-15 10:42:54 UTC
  • mfrom: (1.1.9 upstream) (2.1.11 sid)
  • Revision ID: james.westby@ubuntu.com-20100615104254-tio23up6qefk7rt1
Tags: 5.11-1ubuntu1
* Merge with Debian unstable, remaining Ubuntu changes:
* debian/control:
  - Build-Depend on ubuntu-artwork
  - Add Vcs-Bzr link
  - Move xli | xloadimage xscreensaver recommends to suggests
  - Add/Update replaces with Ubuntu versions
  - Update package descriptions to list Ubuntu screensavers
* debian/rules:
  - Use /usr/share/backgrounds as image directory
  - Add translation domain to .desktop files
* debian/source_xscreensaver.py: 
  - Add apport hook
* debian/split-hacks.config:
  - Use different set of default hacks to Debian
* debian/xscreensaver.dirs
  - Install /usr/share/backgrounds. By default, settings search in
    /usr/share/backgrounds and without it, it displays an error
* debian/patches/53_XScreenSaver.ad.in.patch:
  - Use Ubuntu branding
  - Updated new login command (newLoginCommand) to work with new GDM by
    truncating deprecated arguments to gdmflexiserver.

Show diffs side-by-side

added added

removed removed

Lines of Context:
494
494
  it->gc=NULL;
495
495
  if (it->n_colors) XFreeColors(it->dpy, it->colormap, it->colors, it->n_colors, 0L);
496
496
  it->n_colors=0;
 
497
  free(it);
497
498
}
498
499
 
499
500
 
1030
1031
      it->leveltable[height][0].index=0;
1031
1032
    }
1032
1033
    if (avgheight>=5) {
1033
 
      it->leveltable[height][height-1].index=0;
 
1034
      if (height >= 1) it->leveltable[height][height-1].index=0;
1034
1035
    }
1035
1036
    if (avgheight>=7) {
1036
1037
      it->leveltable[height][1].index=1;
1037
 
      it->leveltable[height][height-2].index=1;
 
1038
      if (height >= 2) it->leveltable[height][height-2].index=1;
1038
1039
    }
1039
1040
 
1040
1041
    for (i=0; i<height; i++) {