description tidyups

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6297 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 2000-03-17 13:13:08 +00:00
parent e1b32b96e9
commit df92ce66a7
14 changed files with 526 additions and 190 deletions

View file

@ -213,6 +213,8 @@ property list which is set as the value of a default.\n\n");
if ([[args objectAtIndex: i] isEqual: @"read"] ||
[[args objectAtIndex: i] isEqual: @"readkey"])
{
NSDictionary *locale = [defs dictionaryRepresentation];
if ([[args objectAtIndex: i] isEqual: @"read"])
{
if ([args count] == ++i)
@ -266,7 +268,8 @@ property list which is set as the value of a default.\n\n");
printf("%s %s '",
[domainName cString], [key cString]);
ptr = [[obj description] cString];
ptr = [[obj descriptionWithLocale: locale indent: 0]
cString];
while (*ptr)
{
if (*ptr == '\'')
@ -289,7 +292,8 @@ property list which is set as the value of a default.\n\n");
printf("%s %s '",
[domainName cString], [name cString]);
ptr = [[obj description] cString];
ptr = [[obj descriptionWithLocale: locale indent: 0]
cString];
while (*ptr)
{
if (*ptr == '\'')