minor changes to the script auto-execution based on Brecht's suggestions.
[blender.git] / source / blender / python / intern / bpy_interface.c
index 79f856344d31129e2a2ce09bfb65e9613d2c513e..feffea205530169c17e002427117f3ad4a3127a9 100644 (file)
@@ -731,7 +731,7 @@ void BPY_modules_load_user(bContext *C)
                        if (!(G.f & G_SCRIPT_AUTOEXEC)) {
                                if (!(G.f & G_SCRIPT_AUTOEXEC_FAIL_QUIET)) {
                                        G.f |= G_SCRIPT_AUTOEXEC_FAIL;
-                                       BLI_snprintf(G.autoexec_fail, sizeof(G.autoexec_fail), "Register Text '%s'", text->id.name + 2);
+                                       BLI_snprintf(G.autoexec_fail, sizeof(G.autoexec_fail), "Text '%s'", text->id.name + 2);
 
                                        printf("scripts disabled for \"%s\", skipping '%s'\n", bmain->name, text->id.name + 2);
                                }