* 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:
Sebastian Reitenbach 2015-05-26 11:54:30 +00:00
parent db4c97c692
commit 2ecc556c2f
3 changed files with 9 additions and 2 deletions

View file

@ -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

View file

@ -396,7 +396,7 @@ EntrySupported(NSStringEncoding enc)
if (entry == 0)
{
return NO;
return NULL;
}
#ifdef HAVE_ICONV
if (entry->iconv != 0 && entry->supported == 0)

View file

@ -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];