~ubuntu-branches/ubuntu/saucy/xscreensaver/saucy

« back to all changes in this revision

Viewing changes to hacks/glx/glxfonts.c

  • Committer: Bazaar Package Importer
  • Author(s): Ted Gould
  • Date: 2008-06-17 09:41:41 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20080617094141-0un910o2mu76ei4l
Tags: 5.05-1ubuntu1
* Added 70_demo_gtk_stfu_removal.patch to remove some more cases where
  the STFU macro is used such that when the #defines it's used on change
  the compile breaks.  Bad coding style.
* Removing 82_ubuntu-texturl-fridge.patch in favor of updating the
  53_XScreenSaver.ad.in.patch to include the Ubuntu branding instead
  of the Debian branding.  This should make merges easier as long as
  we use something smart like Bazaar.  Also the Debian version has lots
  of good changes like making it work with /etc/alternates which we
  didn't have.
* Removing 54_driver_demogtk.patch as it was merged upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* glxfonts, Copyright (c) 2001-2006 Jamie Zawinski <jwz@jwz.org>
 
1
/* glxfonts, Copyright (c) 2001-2008 Jamie Zawinski <jwz@jwz.org>
2
2
 * Loads X11 fonts for use with OpenGL.
3
3
 *
4
4
 * Permission to use, copy, modify, distribute, and sell this software and its
190
190
        glRasterPos2f (x, y);
191
191
        for (i = 0; i < strlen(string); i++)
192
192
          {
193
 
            char c = string[i];
 
193
            unsigned char c = (unsigned char) string[i];
194
194
            if (c == '\n')
195
195
              {
196
196
                glRasterPos2f (x, (y -= line_height));