/[gzz]/gzz/gfx/libtext/Text.hxx
ViewVC logotype

Diff of /gzz/gfx/libtext/Text.hxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by tjl, Sat Sep 28 09:16:46 2002 UTC revision 1.9 by jvk, Wed Oct 2 12:23:48 2002 UTC
# Line 217  namespace Text { Line 217  namespace Text {
217          /** Get a single glyph.          /** Get a single glyph.
218           */           */
219          QuadGlyph &operator[](Char c) {          QuadGlyph &operator[](Char c) {
220              return glyphs[c];            if ((unsigned)c > 255) {
221                std::cerr << "DenseGlyphs::operator[]: character " << c << " out of range\n";
222                return glyphs['?'];
223              }
224              return glyphs[c];
225          }          }
226          /** Get the width of a single glyph.          /** Get the width of a single glyph.
227           */           */

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26