mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
cosmetic coding standards ... fix line wrap to 80 columns
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37252 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d4ac64d355
commit
7c2a8ad322
1 changed files with 9 additions and 5 deletions
|
@ -2176,10 +2176,13 @@ NSDictionary *GSPrivateDefaultLocale()
|
||||||
{
|
{
|
||||||
NSString *old = nil;
|
NSString *old = nil;
|
||||||
|
|
||||||
/* anything beginning with a '-' is a defaults key and we must strip
|
/* anything beginning with a '-' is a defaults key and we
|
||||||
the '-' from it. As a special case, we leave the '- in place
|
* must strip the '-' from it.
|
||||||
for '-GS...' and '--GS...' for backward compatibility. */
|
* As a special case, we leave the '- in place for '-GS...'
|
||||||
if ([key hasPrefix: @"-GS"] == YES || [key hasPrefix: @"--GS"] == YES)
|
* and '--GS...' for backward compatibility.
|
||||||
|
*/
|
||||||
|
if ([key hasPrefix: @"-GS"] == YES
|
||||||
|
|| [key hasPrefix: @"--GS"] == YES)
|
||||||
{
|
{
|
||||||
old = key;
|
old = key;
|
||||||
}
|
}
|
||||||
|
@ -2195,7 +2198,8 @@ NSDictionary *GSPrivateDefaultLocale()
|
||||||
done = YES;
|
done = YES;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else if ([val hasPrefix: @"-"] == YES && [val isEqual: @"-"] == NO)
|
else if ([val hasPrefix: @"-"] == YES
|
||||||
|
&& [val isEqual: @"-"] == NO)
|
||||||
{ // Yet another argument
|
{ // Yet another argument
|
||||||
[argDict setObject: @"" forKey: key]; // arg is empty.
|
[argDict setObject: @"" forKey: key]; // arg is empty.
|
||||||
if (old != nil)
|
if (old != nil)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue