From 2672ee77a0f9b3334ccd348ff3618b8df98798b6 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 23 Aug 2015 21:12:48 +1000 Subject: Cleanup: spelling/style --- source/blender/blenkernel/intern/CCGSubSurf_intern.h | 2 +- source/blender/editors/render/render_shading.c | 2 +- source/blender/editors/space_file/file_draw.c | 5 ++--- source/blender/windowmanager/intern/wm_stereo.c | 4 ++-- 4 files changed, 6 insertions(+), 7 deletions(-) (limited to 'source/blender') diff --git a/source/blender/blenkernel/intern/CCGSubSurf_intern.h b/source/blender/blenkernel/intern/CCGSubSurf_intern.h index 95ea91461f8..e2b42065382 100644 --- a/source/blender/blenkernel/intern/CCGSubSurf_intern.h +++ b/source/blender/blenkernel/intern/CCGSubSurf_intern.h @@ -250,7 +250,7 @@ struct CCGSubSurf { /* Limit evaluator, used to evaluate CCG. */ struct OpenSubdiv_EvaluatorDescr *osd_evaluator; - /* Next PTex face index, used while CCG synchroization + /* Next PTex face index, used while CCG synchronization * to fill in PTex index of CCGFace. */ int osd_next_face_ptex_index; diff --git a/source/blender/editors/render/render_shading.c b/source/blender/editors/render/render_shading.c index 563f134a85a..2e07e19e366 100644 --- a/source/blender/editors/render/render_shading.c +++ b/source/blender/editors/render/render_shading.c @@ -480,7 +480,7 @@ static int new_material_exec(bContext *C, wmOperator *UNUSED(op)) if (prop) { /* when creating new ID blocks, use is already 1, but RNA - * pointer se also increases user, so this compensates it */ + * pointer use also increases user, so this compensates it */ ma->id.us--; RNA_id_pointer_create(&ma->id, &idptr); diff --git a/source/blender/editors/space_file/file_draw.c b/source/blender/editors/space_file/file_draw.c index 521572628a6..dac9124a4cb 100644 --- a/source/blender/editors/space_file/file_draw.c +++ b/source/blender/editors/space_file/file_draw.c @@ -655,11 +655,10 @@ void file_draw_list(const bContext *C, ARegion *ar) sx += (int)layout->column_widths[COLUMN_SIZE] + column_space; } else if (params->display == FILE_LONGDISPLAY) { - if (!(file->typeflag & FILE_TYPE_BLENDERLIB) && !FILENAME_IS_CURRPAR(file->relpath)) - { + if (!(file->typeflag & FILE_TYPE_BLENDERLIB) && !FILENAME_IS_CURRPAR(file->relpath)) { if ((file->entry->date_str[0] == '\0') || update_stat_strings) { BLI_filelist_entry_datetime_to_string( - NULL, file->entry->time, small_size, file->entry->time_str, file->entry->date_str); + NULL, file->entry->time, small_size, file->entry->time_str, file->entry->date_str); } file_draw_string( sx, sy, file->entry->date_str, layout->column_widths[COLUMN_DATE], layout->tile_h, align); diff --git a/source/blender/windowmanager/intern/wm_stereo.c b/source/blender/windowmanager/intern/wm_stereo.c index b3ddb2499dd..98c45bfb6ea 100644 --- a/source/blender/windowmanager/intern/wm_stereo.c +++ b/source/blender/windowmanager/intern/wm_stereo.c @@ -369,7 +369,7 @@ bool WM_stereo3d_enabled(wmWindow *win, bool skip_stereo3d_check) { bScreen *screen = win->screen; - /* some 3d methods change the window arrangment, thus they shouldn't + /* some 3d methods change the window arrangement, thus they shouldn't * toggle on/off just because there is no 3d elements being drawn */ if (wm_stereo3d_is_fullscreen_required(win->stereo3d_format->display_mode)) { return GHOST_GetWindowState(win->ghostwin) == GHOST_kWindowStateFullScreen; @@ -379,7 +379,7 @@ bool WM_stereo3d_enabled(wmWindow *win, bool skip_stereo3d_check) return false; } - /* some 3d methods change the window arrangment, thus they shouldn't + /* some 3d methods change the window arrangement, thus they shouldn't * toggle on/off just because there is no 3d elements being drawn */ if (wm_stereo3d_is_fullscreen_required(win->stereo3d_format->display_mode)) { return GHOST_GetWindowState(win->ghostwin) == GHOST_kWindowStateFullScreen; -- cgit v1.2.3