Adium

Changeset 25563

Show
Ignore:
Timestamp:
11/11/2008 03:34:01 PM (2 months ago)
Author:
catfish_man
Message:

Make this NSXMLElement-safe; fixes brokenness with multiline messages

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Frameworks/AIUtilities Framework/Source/AIStringAdditions.m

    r25429 r25563  
    795795 
    796796                [lines addObject:[self substringWithRange:substringRange]]; 
    797                 if (separatorObj) [lines addObject:separatorObj]; 
     797                if (separatorObj) [lines addObject:[[separatorObj copy] autorelease]]; 
    798798 
    799799                searchRange.location = (lineBreakRange.location + lineBreakRange.length);