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
@ -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…
x
Reference in New Issue
Block a user