~ubuntu-branches/ubuntu/jaunty/fltk1.1/jaunty

« back to all changes in this revision

Viewing changes to src/Fl_XBM_Image.cxx

  • Committer: Bazaar Package Importer
  • Author(s): Aaron M. Ucko
  • Date: 2007-02-21 16:56:13 UTC
  • mfrom: (2.1.5 edgy)
  • Revision ID: james.westby@ubuntu.com-20070221165613-tgsyru29aprq97yj
Tags: 1.1.7-3
* debian/po/pt.po: new (European) Portuguese translation for
  libfltk1.1-dev, courtesy of Pedro Ribeiro <p.m42.ribeiro@gmail.com>.
  (Closes: #410733.)
* Declare (preexisting) compliance with Standards-Version: 3.7.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
//
2
 
// "$Id: Fl_XBM_Image.cxx,v 1.1.2.10 2004/04/11 04:38:58 easysw Exp $"
 
2
// "$Id: Fl_XBM_Image.cxx 4547 2005-08-29 20:11:48Z matt $"
3
3
//
4
4
// Fl_XBM_Image routines.
5
5
//
6
 
// Copyright 1997-2004 by Bill Spitzak and others.
 
6
// Copyright 1997-2005 by Bill Spitzak and others.
7
7
//
8
8
// This library is free software; you can redistribute it and/or
9
9
// modify it under the terms of the GNU Library General Public
20
20
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
21
21
// USA.
22
22
//
23
 
// Please report all bugs and problems to "fltk-bugs@fltk.org".
 
23
// Please report all bugs and problems on the following page:
 
24
//
 
25
//     http://www.fltk.org/str.php
24
26
//
25
27
// Contents:
26
28
//
86
88
    }
87
89
    const char *a = buffer;
88
90
    while (*a && i<n) {
89
 
      int t;
 
91
      unsigned int t;
90
92
      if (sscanf(a," 0x%x",&t)>0) {
91
93
        *ptr++ = (uchar)t;
92
94
        i ++;
100
102
 
101
103
 
102
104
//
103
 
// End of "$Id: Fl_XBM_Image.cxx,v 1.1.2.10 2004/04/11 04:38:58 easysw Exp $".
 
105
// End of "$Id: Fl_XBM_Image.cxx 4547 2005-08-29 20:11:48Z matt $".
104
106
//