diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-09-24 19:46:51 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-09-24 19:48:29 +0300 |
commit | 342e73f90fc5c41af8db3a6e3dfdf1746f7f5bc4 (patch) | |
tree | 47fdb91d8e16b1c89f9ca358cb0172e862905ee1 /source/blender/windowmanager | |
parent | 9682e43bf9e078165b3d4d52c6a19c430ec2cbf2 (diff) |
Spelling fixes in comments and descriptions (2.8 changes), patch by luzpaz.
Differential Revision: https://developer.blender.org/D3719
Diffstat (limited to 'source/blender/windowmanager')
7 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/windowmanager/gizmo/intern/wm_gizmo.c b/source/blender/windowmanager/gizmo/intern/wm_gizmo.c index 14deb0be725..6abc37a893f 100644 --- a/source/blender/windowmanager/gizmo/intern/wm_gizmo.c +++ b/source/blender/windowmanager/gizmo/intern/wm_gizmo.c @@ -627,7 +627,7 @@ void WM_gizmo_calc_matrix_final(const wmGizmo *gz, float r_mat[4][4]) ); } -/** \name Gizmo Propery Access +/** \name Gizmo Property Access * * Matches `WM_operator_properties` conventions. * @@ -700,7 +700,7 @@ void WM_gizmo_properties_sanitize(PointerRNA *ptr, const bool no_context) /** set all props to their default, * \param do_update Only update un-initialized props. * - * \note, theres nothing specific to gizmos here. + * \note, there's nothing specific to gizmos here. * this could be made a general function. */ bool WM_gizmo_properties_default(PointerRNA *ptr, const bool do_update) diff --git a/source/blender/windowmanager/intern/wm_draw.c b/source/blender/windowmanager/intern/wm_draw.c index c869ec90469..b76fc0abfa7 100644 --- a/source/blender/windowmanager/intern/wm_draw.c +++ b/source/blender/windowmanager/intern/wm_draw.c @@ -553,7 +553,7 @@ static void wm_draw_window_offscreen(bContext *C, wmWindow *win, bool stereo) CTX_wm_menu_set(C, ar); if (ar->type && ar->type->layout) { - /* UI code reads the OpenGL state, but we have to refesh + /* UI code reads the OpenGL state, but we have to refresh * the UI layout beforehand in case the menu size changes. */ wmViewport(&ar->winrct); ar->type->layout(C, ar); diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c index f013a0889cf..a51eb3a529c 100644 --- a/source/blender/windowmanager/intern/wm_event_system.c +++ b/source/blender/windowmanager/intern/wm_event_system.c @@ -2882,7 +2882,7 @@ void wm_event_do_handlers(bContext *C) bScreen *screen = WM_window_get_active_screen(win); wmEvent *event; - /* some safty checks - these should always be set! */ + /* some safety checks - these should always be set! */ BLI_assert(WM_window_get_active_scene(win)); BLI_assert(WM_window_get_active_screen(win)); BLI_assert(WM_window_get_active_workspace(win)); diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c index f461fdc1a63..24883ee9d7d 100644 --- a/source/blender/windowmanager/intern/wm_files.c +++ b/source/blender/windowmanager/intern/wm_files.c @@ -1221,7 +1221,7 @@ static int wm_file_write(bContext *C, const char *filepath, int fileflags, Repor /* blend file thumbnail */ /* save before exit_editmode, otherwise derivedmeshes for shared data corrupt #27765) */ - /* Main now can store a .blend thumbnail, usefull for background mode or thumbnail customization. */ + /* Main now can store a .blend thumbnail, useful for background mode or thumbnail customization. */ main_thumb = thumb = bmain->blen_thumb; if ((U.flag & USER_SAVE_PREVIEWS) && BLI_thread_is_main()) { ibuf_thumb = blend_file_thumb(C, CTX_data_scene(C), CTX_wm_screen(C), &thumb); diff --git a/source/blender/windowmanager/intern/wm_stereo.c b/source/blender/windowmanager/intern/wm_stereo.c index 577145aff95..aa85dbc04b4 100644 --- a/source/blender/windowmanager/intern/wm_stereo.c +++ b/source/blender/windowmanager/intern/wm_stereo.c @@ -403,7 +403,7 @@ int wm_stereo3d_set_exec(bContext *C, wmOperator *op) if (prev_display_mode == S3D_DISPLAY_PAGEFLIP && prev_display_mode != win_src->stereo3d_format->display_mode) { - /* in case the hardward supports pageflip but not the display */ + /* in case the hardware supports pageflip but not the display */ if ((win_dst = wm_window_copy_test(C, win_src, false, false))) { /* pass */ } diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c index 6ba5db20c07..c460ea88474 100644 --- a/source/blender/windowmanager/intern/wm_window.c +++ b/source/blender/windowmanager/intern/wm_window.c @@ -2043,7 +2043,7 @@ void WM_window_screen_rect_calc(const wmWindow *win, rcti *r_rect) WM_window_rect_calc(win, &window_rect); screen_rect = window_rect; - /* Substract global areas from screen rectangle. */ + /* Subtract global areas from screen rectangle. */ for (ScrArea *global_area = win->global_areas.areabase.first; global_area; global_area = global_area->next) { int height = ED_area_global_size_y(global_area) - 1; diff --git a/source/blender/windowmanager/wm_event_system.h b/source/blender/windowmanager/wm_event_system.h index 1dcd0cb62d0..a0610ffcff3 100644 --- a/source/blender/windowmanager/wm_event_system.h +++ b/source/blender/windowmanager/wm_event_system.h @@ -40,7 +40,7 @@ struct ScrArea; struct ARegion; -/* wmKeyMap is in DNA_windowmanager.h, it's savable */ +/* wmKeyMap is in DNA_windowmanager.h, it's saveable */ struct wmEventHandler_KeymapFn { void (*handle_post_fn)(wmKeyMap *keymap, wmKeyMapItem *kmi, void *user_data); |