mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
* Source/Additions/Unicode.m
* Tools/AGSOutput.m return NULL or nil instead of NO where pointers are to be returned OK Richard Frith-Macdonald git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38553 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
db4c97c692
commit
2ecc556c2f
3 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
2015-05-26: Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
|
||||
|
||||
* Source/Additions/Unicode.m
|
||||
* Tools/AGSOutput.m
|
||||
return NULL or nil instead of NO where pointers are to
|
||||
be returned
|
||||
|
||||
2015-05-26 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* GSString.m: Fix sign extension bug
|
||||
|
|
|
@ -396,7 +396,7 @@ EntrySupported(NSStringEncoding enc)
|
|||
|
||||
if (entry == 0)
|
||||
{
|
||||
return NO;
|
||||
return NULL;
|
||||
}
|
||||
#ifdef HAVE_ICONV
|
||||
if (entry->iconv != 0 && entry->supported == 0)
|
||||
|
|
|
@ -2393,7 +2393,7 @@ static BOOL snuggleStart(NSString *t)
|
|||
if (start.length == 0)
|
||||
{
|
||||
NSLog(@"No <back> or </body> markup in %@ document", kind);
|
||||
return NO;
|
||||
return nil;
|
||||
}
|
||||
[str insertString: tmp atIndex: start.location];
|
||||
start.length = [tmp length];
|
||||
|
|
Loading…
Reference in a new issue