mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Recommit tested changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32075 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b771863503
commit
feb65c9c78
7 changed files with 52 additions and 27 deletions
|
@ -263,12 +263,19 @@ UTextNSMutableStringClone(UText *dest,
|
|||
UErrorCode *status)
|
||||
{
|
||||
NSMutableString *str = (NSMutableString*)src->p;
|
||||
UText *txt;
|
||||
|
||||
if (deep)
|
||||
{
|
||||
str = [str mutableCopy];
|
||||
txt = UTextInitWithNSMutableString(dest, str);
|
||||
[str release];
|
||||
}
|
||||
return UTextInitWithNSMutableString(dest, str);
|
||||
else
|
||||
{
|
||||
txt = UTextInitWithNSMutableString(dest, str);
|
||||
}
|
||||
return txt;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue