mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
Minor fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33916 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6352d91406
commit
223eb3356c
3 changed files with 12 additions and 1 deletions
|
@ -1,3 +1,12 @@
|
||||||
|
2011-09-29 julian <julian@corecode.at>
|
||||||
|
|
||||||
|
* Source/NSBundle.m: ([objectForInfoDictionaryKey:])
|
||||||
|
Add missing one-line implementation.
|
||||||
|
|
||||||
|
2011-09-29 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
* Source/NSNumberFormatter.m: Check for _C_BOOL definition.
|
||||||
|
|
||||||
2011-09-07 Eric Wasylishen <ewasylishen@gmail.com>
|
2011-09-07 Eric Wasylishen <ewasylishen@gmail.com>
|
||||||
|
|
||||||
* Source/NSUserDefaults.m:
|
* Source/NSUserDefaults.m:
|
||||||
|
|
|
@ -2099,7 +2099,7 @@ IF_NO_GC(
|
||||||
|
|
||||||
- (id) objectForInfoDictionaryKey: (NSString *)key
|
- (id) objectForInfoDictionaryKey: (NSString *)key
|
||||||
{
|
{
|
||||||
return nil;
|
return [[self infoDictionary] objectForKey: key];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSString*) developmentLocalization
|
- (NSString*) developmentLocalization
|
||||||
|
|
|
@ -1105,9 +1105,11 @@ static NSUInteger _defaultBehavior = NSNumberFormatterBehavior10_4;
|
||||||
* don't think it matters, because we don't bother with anything
|
* don't think it matters, because we don't bother with anything
|
||||||
* smaller than int for NSNumbers
|
* smaller than int for NSNumbers
|
||||||
*/
|
*/
|
||||||
|
#if defined(_C_BOOL)
|
||||||
case _C_BOOL:
|
case _C_BOOL:
|
||||||
STRING_FROM_NUMBER(unum_format, (int)[anObject boolValue]);
|
STRING_FROM_NUMBER(unum_format, (int)[anObject boolValue]);
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
/* If it's not a type encoding that we recognise, let the receiver
|
/* If it's not a type encoding that we recognise, let the receiver
|
||||||
* cast it to a double, which probably has enough precision for what
|
* cast it to a double, which probably has enough precision for what
|
||||||
* we need. This needs testing with NSDecimalNumber though, because
|
* we need. This needs testing with NSDecimalNumber though, because
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue