aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun
diff options
context:
space:
mode:
Diffstat (limited to 'src/classes/com/sun')
-rwxr-xr-xsrc/classes/com/sun/opengl/util/j2d/TextRenderer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/classes/com/sun/opengl/util/j2d/TextRenderer.java b/src/classes/com/sun/opengl/util/j2d/TextRenderer.java
index 82c60b7d6..c8493affa 100755
--- a/src/classes/com/sun/opengl/util/j2d/TextRenderer.java
+++ b/src/classes/com/sun/opengl/util/j2d/TextRenderer.java
@@ -1584,7 +1584,7 @@ public class TextRenderer {
}
glyphsOutput.add(new Glyph(buf.toString(),
// Any more glyphs after this run?
- i < lengthInGlyphs - 1));
+ i < lengthInGlyphs));
}
}
return glyphsOutput;