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