mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
Change do..while to while
This commit is contained in:
parent
3d711b5672
commit
58e50ff079
1 changed files with 1 additions and 2 deletions
|
@ -298,7 +298,7 @@ static Class pathComponentCellClass;
|
|||
NSURL *u = [url copy];
|
||||
|
||||
// Decompose string...
|
||||
do
|
||||
while (at_root == NO)
|
||||
{
|
||||
NSPathComponentCell *cell = [[NSPathComponentCell alloc] init];
|
||||
NSImage *image = nil;
|
||||
|
@ -351,7 +351,6 @@ static Class pathComponentCellClass;
|
|||
u = [NSURL URLWithString: @"/"];
|
||||
}
|
||||
}
|
||||
while (at_root == NO);
|
||||
}
|
||||
|
||||
return [array copy];
|
||||
|
|
Loading…
Reference in a new issue