code cleanup: BKE_ naming, also make bpy.data.images.load() always load a new image...
[blender.git] / source / blender / makesrna / intern / rna_text_api.c
index 3f51185833268db493334e45a9e619d4e36ee521..338d0c7c52c54b13bb35d654472d7d87718df064 100644 (file)
 
 static void rna_Text_clear(Text *text)
 {
-       clear_text(text);
+       BKE_text_clear(text);
        WM_main_add_notifier(NC_TEXT|NA_EDITED, text);
 }
 
 static void rna_Text_write(Text *text, const char *str)
 {
-       write_text(text, str);
+       BKE_text_write(text, str);
        WM_main_add_notifier(NC_TEXT|NA_EDITED, text);
 }