2.5
[blender.git] / source / blender / windowmanager / intern / wm_files.c
index b8a60710063b78ea5652108930195c02138b526e..75306dc75d84aa60e2b55dcb9b9ef2530d429f07 100644 (file)
@@ -872,7 +872,7 @@ int WM_write_homefile(bContext *C, wmOperator *op)
        write_flags = G.fileflags & ~(G_FILE_COMPRESS | G_FILE_LOCK | G_FILE_SIGN);
        BLO_write_file(C, tstr, write_flags, &err);
        
-       return 1;
+       return OPERATOR_FINISHED;
 }
 
 void WM_write_autosave(bContext *C)