mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-04 10:30:47 +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
|
@ -1,3 +1,9 @@
|
||||||
|
2004-02-02 Roland Schwingel <roland.schwingel@onevision.de>
|
||||||
|
|
||||||
|
* Source/NSString.m: ([stringByAbbreviatingWithTildeInPath]) fix bug
|
||||||
|
appending last path component.
|
||||||
|
([localizedNameOfStringEncoding:]) fix load of locliisation bundle.
|
||||||
|
|
||||||
2004-02-02 Richard Frith-Macdonald <rfm@gnu.org>
|
2004-02-02 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/Headers/Foundation/NSPropertyList.h:
|
* Source/Headers/Foundation/NSPropertyList.h:
|
||||||
|
|
|
@ -2856,7 +2856,7 @@ handle_printf_atsign (FILE *stream,
|
||||||
Until we have it, just make sure that bundle
|
Until we have it, just make sure that bundle
|
||||||
is initialized.
|
is initialized.
|
||||||
*/
|
*/
|
||||||
ourbundle = [NSBundle gnustepBundle];
|
ourbundle = [NSBundle bundleForLibrary: @"gnustep-base"];
|
||||||
|
|
||||||
ourname = GetEncodingName(encoding);
|
ourname = GetEncodingName(encoding);
|
||||||
return [ourbundle localizedStringForKey: ourname
|
return [ourbundle localizedStringForKey: ourname
|
||||||
|
@ -3517,7 +3517,7 @@ handle_printf_atsign (FILE *stream,
|
||||||
return @"~";
|
return @"~";
|
||||||
}
|
}
|
||||||
return [@"~" stringByAppendingPathComponent:
|
return [@"~" stringByAppendingPathComponent:
|
||||||
[self substringFromIndex: [homedir length] + 1]];
|
[self substringFromIndex: [homedir length]]];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue