mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 15:20:38 +00:00
* Source/GNUmakefile.postamble (Info-gnustep.plist): Depend on
../Version. * Source/NSOutlineView.m ([NSOutlineView -rowForItem:]): Declare var at beginning of block for gcc2 (Fixes Bug #13936). git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21554 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d7bfc65e99
commit
5cd54d4415
3 changed files with 11 additions and 2 deletions
|
@ -521,10 +521,11 @@ static NSImage *unexpandable = nil;
|
|||
*/
|
||||
- (int)rowForItem: (id)item
|
||||
{
|
||||
int row;
|
||||
if(item == nil)
|
||||
return -1;
|
||||
|
||||
int row = [_items indexOfObject: item];
|
||||
row = [_items indexOfObject: item];
|
||||
return (row == NSNotFound) ? -1 : row;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue