Applied nsstring bugfix patch

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18529 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2004-02-02 14:46:48 +00:00
parent 851bf042db
commit ca36c51c9e
2 changed files with 8 additions and 2 deletions

View file

@ -2856,7 +2856,7 @@ handle_printf_atsign (FILE *stream,
Until we have it, just make sure that bundle
is initialized.
*/
ourbundle = [NSBundle gnustepBundle];
ourbundle = [NSBundle bundleForLibrary: @"gnustep-base"];
ourname = GetEncodingName(encoding);
return [ourbundle localizedStringForKey: ourname
@ -3517,7 +3517,7 @@ handle_printf_atsign (FILE *stream,
return @"~";
}
return [@"~" stringByAppendingPathComponent:
[self substringFromIndex: [homedir length] + 1]];
[self substringFromIndex: [homedir length]]];
}
/**