mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-24 14:12:26 +00:00
printf style format tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36799 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b49c4b7eaa
commit
da4f7056ca
14 changed files with 33 additions and 30 deletions
|
@ -735,7 +735,7 @@ unregisterActiveThread(NSThread *thread)
|
|||
if (_active == NO)
|
||||
{
|
||||
[NSException raise: NSInternalInconsistencyException
|
||||
format: @"[%@-$@] called on inactive thread",
|
||||
format: @"[%@-%@] called on inactive thread",
|
||||
NSStringFromClass([self class]),
|
||||
NSStringFromSelector(_cmd)];
|
||||
}
|
||||
|
@ -821,21 +821,21 @@ static void *nsthreadLauncher(void* thread)
|
|||
if (_active == YES)
|
||||
{
|
||||
[NSException raise: NSInternalInconsistencyException
|
||||
format: @"[%@-$@] called on active thread",
|
||||
format: @"[%@-%@] called on active thread",
|
||||
NSStringFromClass([self class]),
|
||||
NSStringFromSelector(_cmd)];
|
||||
}
|
||||
if (_cancelled == YES)
|
||||
{
|
||||
[NSException raise: NSInternalInconsistencyException
|
||||
format: @"[%@-$@] called on cancelled thread",
|
||||
format: @"[%@-%@] called on cancelled thread",
|
||||
NSStringFromClass([self class]),
|
||||
NSStringFromSelector(_cmd)];
|
||||
}
|
||||
if (_finished == YES)
|
||||
{
|
||||
[NSException raise: NSInternalInconsistencyException
|
||||
format: @"[%@-$@] called on finished thread",
|
||||
format: @"[%@-%@] called on finished thread",
|
||||
NSStringFromClass([self class]),
|
||||
NSStringFromSelector(_cmd)];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue