mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Fix detection of the charset in XML data
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40090 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f5641389f0
commit
b1c979898d
3 changed files with 14 additions and 3 deletions
|
@ -4764,7 +4764,7 @@ appendString(NSMutableData *m, NSUInteger offset, NSUInteger fold,
|
|||
{
|
||||
/* Extract the charset and return it.
|
||||
*/
|
||||
r = NSMakeRange(index, r.length - index);
|
||||
r = NSMakeRange(index, r.location - index);
|
||||
return [xml substringWithRange: r];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue