Changeset 2480

Show
Ignore:
Timestamp:
08/21/07 13:24:30 (1 year ago)
Author:
paule
Message:

Fix content being lost when converting notes to Opie

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/opie-sync/src/opie_format.c

    r2475 r2480  
    12531253                } 
    12541254                else if(!strcmp("Body", fieldname)) { 
    1255                         xmlfield_key_to_attr(in_xmlfield, "Content", on_note, "content"); 
     1255                        const char *value = osync_xmlfield_get_key_value(in_xmlfield, "Content"); 
     1256                        if(value) 
     1257                                osxml_node_add(on_note, "content", value); 
    12561258                } 
    12571259