Changeset 3258

Show
Ignore:
Timestamp:
06/06/06 21:14:14 (2 years ago)
Author:
timothy
Message:

Fixes the bad string constant, should be a C string not and ObjC string. Thanks Graham!

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Models/JVChatMessage.m

    r3247 r3258  
    166166                        } 
    167167                } else { 
    168                         child = xmlNewTextChild( root, NULL, (xmlChar *) "sender", ( [self senderName] ? (xmlChar *) [[self senderName] UTF8String] : @"" ) ); 
     168                        child = xmlNewTextChild( root, NULL, (xmlChar *) "sender", ( [self senderName] ? (xmlChar *) [[self senderName] UTF8String] : "" ) ); 
    169169                        if( [self senderIsLocalUser] ) xmlSetProp( child, (xmlChar *) "self", (xmlChar *) "yes" ); 
    170170                        if( [self senderNickname] && ! [[self senderName] isEqualToString:[self senderNickname]] )