From 8fa17c5362a09d023bda999d4595f1762e5f52b9 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 7 Apr 2012 12:37:15 +0000 Subject: code cleanup: no functional changes - memset(..., -1) is used incorrectly even though it worked: MOD_solidify.c - thanks Halley from IRC for noticing this. use fill_vn_i() instead. - quiet warnings in editmesh_slide.c - cleanup comments in bmesh and some other minor comment additions. --- source/blender/blenkernel/intern/blender.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/blenkernel/intern/blender.c') diff --git a/source/blender/blenkernel/intern/blender.c b/source/blender/blenkernel/intern/blender.c index f111640145f..9c9b207970c 100644 --- a/source/blender/blenkernel/intern/blender.c +++ b/source/blender/blenkernel/intern/blender.c @@ -272,7 +272,7 @@ static void setup_app_data(bContext *C, BlendFileData *bfd, const char *filepath CTX_wm_menu_set(C, NULL); } - /* this can happen when active scene was lib-linked, and doesnt exist anymore */ + /* this can happen when active scene was lib-linked, and doesn't exist anymore */ if (CTX_data_scene(C)==NULL) { CTX_data_scene_set(C, bfd->main->scene.first); CTX_wm_screen(C)->scene= CTX_data_scene(C); @@ -472,7 +472,7 @@ static int read_undosave(bContext *C, UndoElem *uel) char mainstr[sizeof(G.main->name)]; int success=0, fileflags; - /* This is needed so undoing/redoing doesnt crash with threaded previews going */ + /* This is needed so undoing/redoing doesn't crash with threaded previews going */ WM_jobs_stop_all(CTX_wm_manager(C)); BLI_strncpy(mainstr, G.main->name, sizeof(mainstr)); /* temporal store */ -- cgit v1.2.3