Update of docs. Fixes from Frith-MacDonald, others.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2679 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 1998-01-02 18:09:52 +00:00
parent c90320bdea
commit 6e78fcd8fd
22 changed files with 467 additions and 559 deletions

View file

@ -635,7 +635,13 @@ static NSMutableString *processName = nil;
while (!done)
{
if ([key hasPrefix:@"-GS"] || [key hasPrefix:@"--GS"]) {
if ([key hasPrefix:@"-"]) {
/* anything beginning with a '-' is a defaults key and we must strip
the '-' from it. As a special case, we leave the '- in place
for '-GS...' and '--GS...' for backward compatibility. */
if ([key hasPrefix:@"-GS"] == NO && [key hasPrefix:@"--GS"] == NO) {
key = [key substringFromIndex: 1];
}
val = [enumerator nextObject];
if (!val)
{ // No more args