Just fixing a typo in a comment.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9948 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
4610dbdacc
commit
bf782ac840
@ -167,7 +167,7 @@ public class BitmapFont implements Savable {
|
||||
}
|
||||
|
||||
public float getLineWidth(CharSequence text){
|
||||
|
||||
|
||||
// This method will probably always be a bit of a maintenance
|
||||
// nightmare since it basis its calculation on a different
|
||||
// routine than the Letters class. The ideal situation would
|
||||
@ -243,8 +243,8 @@ public class BitmapFont implements Savable {
|
||||
// that we don't care about.
|
||||
if (i == text.length() - 1) {
|
||||
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
|
||||
// we just added by the appropriate amount.
|
||||
lineWidth += c.getXOffset() * sizeScale;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user