Fix typo making the first line wrap wrong.

This commit is contained in:
Unknown W. Brackets 2013-05-27 19:35:49 -07:00
parent 8c984c2440
commit 5f3cede64c

View File

@ -432,7 +432,7 @@ void PPGeDrawTextWrapped(const char *text, float x, float y, float wrapWidth, in
BeginVertexData();
y += atlasfont.ascend*scale;
float sx = x;
bool skipWrap = true;
bool skipWrap = false;
const float wrapCutoff = wrapWidth * 0.8f;
UTF8 utf(text);
while (true) {