Just fixing a typo in a comment.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9948 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
PSp..om 12 years ago
parent 4610dbdacc
commit bf782ac840
  1. 2
      engine/src/core/com/jme3/font/BitmapFont.java

@ -244,7 +244,7 @@ public class BitmapFont implements Savable {
if (i == text.length() - 1) { if (i == text.length() - 1) {
lineWidth += c.getWidth() * sizeScale; lineWidth += c.getWidth() * sizeScale;
// Since theh width includes the xOffset then we need // Since the width includes the xOffset then we need
// to take it out again by adding it, ie: offset the width // to take it out again by adding it, ie: offset the width
// we just added by the appropriate amount. // we just added by the appropriate amount.
lineWidth += c.getXOffset() * sizeScale; lineWidth += c.getXOffset() * sizeScale;

Loading…
Cancel
Save