mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Minor fix in defaults template handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12724 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
036c252af8
commit
aa6178c559
3 changed files with 19 additions and 12 deletions
|
@ -527,7 +527,7 @@ userDirectory(NSString *name, BOOL defaults)
|
|||
while (r.length > 0)
|
||||
{
|
||||
template = [template stringByAppendingFormat:
|
||||
@"%@%@]", [old substringToIndex: r.location], uMarker];
|
||||
@"%@%@", [old substringToIndex: r.location], uMarker];
|
||||
old = [old substringFromIndex: NSMaxRange(r)];
|
||||
r = [old rangeOfString: name];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue