removed c99-isms

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29125 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2009-12-15 22:22:01 +00:00
parent fff49a33bf
commit c99387f5f5
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2009-12-15 Riccardo Mottola <rmottola@users.sf.net>
* Source/NSOutlineView.m: removed c99-isms
2009-12-11 Eric Wasylishen <ewasylishen@gmail.com>
* Source/GSThemeTools.m: Correct the destination rect coordinates in

View file

@ -1142,10 +1142,13 @@ Also returns the child index relative to this parent. */
for (i = row - 1; i >= 0; i--)
{
BOOL foundParent;
BOOL foundSibling;
lvl = [self levelForRow: i];
BOOL foundParent = (lvl == level - 1);
BOOL foundSibling = (lvl == level);
foundParent = (lvl == level - 1);
foundSibling = (lvl == level);
if (foundParent)
{