Fixup bad indentation

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29473 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2010-02-03 22:13:48 +00:00
parent d85c001251
commit 7f2d7d10eb

View file

@ -390,8 +390,10 @@ MUNLOCK
{
return YES;
}
while ([_condition waitUntilDate: limitDate]) {
if (condition_to_meet == _condition_value) {
while ([_condition waitUntilDate: limitDate])
{
if (condition_to_meet == _condition_value)
{
return YES; // KEEP THE LOCK
}
}
@ -409,15 +411,17 @@ MNAME
- (BOOL) tryLockWhenCondition: (NSInteger)condition_to_meet
{
if ([_condition tryLock]) {
if (condition_to_meet == _condition_value) {
if ([_condition tryLock])
{
if (condition_to_meet == _condition_value)
{
return YES; // KEEP THE LOCK
}
else {
else
{
[_condition unlock];
}
}
return NO;
}