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:
parent
9393c1bbc9
commit
4ef89c890f
9 changed files with 8 additions and 28 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue