- file->read_text_until("/CLIP_NOTES",
- clip_notes, sizeof(clip_notes)-1, 1);
+ XMLBuffer notes;
+ file->read_text_until("/CLIP_NOTES", ¬es, 1);
+ memset(clip_notes, 0, sizeof(clip_notes));
+ strncpy(clip_notes, notes.cstr(), sizeof(clip_notes)-1);