Fixed some typos.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31818 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Stefan Bidigaray 2011-01-01 21:41:59 +00:00
parent d18e4eb8ed
commit 798336be99
2 changed files with 7 additions and 2 deletions

View file

@ -181,7 +181,7 @@ static NSArray *_currencyCodesWithType (uint32_t currType)
msystem = ulocdata_getMeasurementSystem (cLocaleId, &err);
if (U_SUCCESS(err))
{
if (msystem == UMS_US)
if (msystem == UMS_SI)
result = @"Metric";
else
result = @"U.S.";
@ -870,6 +870,7 @@ static NSRecursiveLock *classLock = nil;
if (mSys != nil)
{
[_components setValue: mSys forKey: NSLocaleMeasurementSystem];
NSLog (@"%@", mSys);
if ([mSys isEqualToString: @"Metric"])
result = [NSNumber numberWithBool: YES];
else
@ -883,7 +884,7 @@ static NSRecursiveLock *classLock = nil;
#if OS_API_VERSION(MAC_OS_X_VERSION_10_6, GS_API_LATEST)
else if ([key isEqualToString: NSLocaleQuotationBeginDelimiterKey])
result = [self _getDelimiterWithType: ULOCDATA_QUOTATION_START];
else if ([key isEqualToString: NSLocaleQuotationBeginDelimiterKey])
else if ([key isEqualToString: NSLocaleQuotationEndDelimiterKey])
result = [self _getDelimiterWithType: ULOCDATA_QUOTATION_END];
else if ([key isEqualToString: NSLocaleAlternateQuotationBeginDelimiterKey])
result = [self _getDelimiterWithType: ULOCDATA_ALT_QUOTATION_START];