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

Minor clean-ups.

This commit is contained in:
jules 2012-09-11 09:35:03 +01:00
parent d9f0ac29b6
commit 9a24aa8a20
33 changed files with 127 additions and 222 deletions

View file

@ -57,8 +57,7 @@ namespace KeyboardFocusHelpers
Array <Component*> localComps;
ScreenPositionComparator comparator;
int i;
for (i = parent->getNumChildComponents(); --i >= 0;)
for (int i = parent->getNumChildComponents(); --i >= 0;)
{
Component* const c = parent->getChildComponent (i);
@ -66,7 +65,7 @@ namespace KeyboardFocusHelpers
localComps.addSorted (comparator, c);
}
for (i = 0; i < localComps.size(); ++i)
for (int i = 0; i < localComps.size(); ++i)
{
Component* const c = localComps.getUnchecked (i);