mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
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:
parent
851bf042db
commit
ca36c51c9e
2 changed files with 8 additions and 2 deletions
|
@ -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]]];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue