1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Avoided a few gcc compiler warnings.

This commit is contained in:
jules 2012-11-11 18:43:36 +00:00
parent 9393c1bbc9
commit 4ef89c890f
9 changed files with 8 additions and 28 deletions

View file

@ -439,12 +439,10 @@ void GlyphArrangement::addFittedText (const Font& f,
float lineY = y;
float widthPerLine = lineWidth / numLines;
int lastLineStartIndex = 0;
for (int line = 0; line < numLines; ++line)
{
int i = startIndex;
lastLineStartIndex = i;
float lineStartX = glyphs.getReference (startIndex).getLeft();
if (line == numLines - 1)