diff options
author | Campbell Barton <campbell@blender.org> | 2022-09-16 11:13:19 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-09-16 11:14:33 +0300 |
commit | 95f05a6a4ba66ed5533ad6d35ac92cdbe3aa0690 (patch) | |
tree | 19f81181cb24c931c7e006822cf3fe2f39955866 /source/blender/windowmanager | |
parent | 48d7ff68f0df209c77bbb081ab46fbc109fd825a (diff) |
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/windowmanager')
5 files changed, 11 insertions, 11 deletions
diff --git a/source/blender/windowmanager/gizmo/intern/wm_gizmo_group.c b/source/blender/windowmanager/gizmo/intern/wm_gizmo_group.c index e165cb6b4f8..1c0f1e03a47 100644 --- a/source/blender/windowmanager/gizmo/intern/wm_gizmo_group.c +++ b/source/blender/windowmanager/gizmo/intern/wm_gizmo_group.c @@ -632,7 +632,7 @@ wmKeyMap *wm_gizmogroup_tweak_modal_keymap(wmKeyConfig *keyconf) STRNCPY(name, "Generic Gizmo Tweak Modal Map"); keymap = WM_modalkeymap_find(keyconf, name); - /* this function is called for each spacetype, only needs to add map once */ + /* This function is called for each space-type, only needs to add map once. */ if (keymap && keymap->modal_items) { return NULL; } diff --git a/source/blender/windowmanager/intern/wm_event_system.cc b/source/blender/windowmanager/intern/wm_event_system.cc index 5f7a6078328..4209e1e5e00 100644 --- a/source/blender/windowmanager/intern/wm_event_system.cc +++ b/source/blender/windowmanager/intern/wm_event_system.cc @@ -4082,9 +4082,9 @@ void WM_event_fileselect_event(wmWindowManager *wm, void *ophandle, int eventval * An appropriate window is either of the following: * * A parent window that does not yet contain a modal File Browser. This is determined using * #ED_fileselect_handler_area_find_any_with_op(). - * * A parent window containing a modal File Browser, but in a maximized/fullscreen state. Users + * * A parent window containing a modal File Browser, but in a maximized/full-screen state. Users * shouldn't be able to put a temporary screen like the modal File Browser into - * maximized/fullscreen state themselves. So this setup indicates that the File Browser was + * maximized/full-screen state themselves. So this setup indicates that the File Browser was * opened using #USER_TEMP_SPACE_DISPLAY_FULLSCREEN. * * If no appropriate parent window can be found from the context window, return the first diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c index 18b5461383f..259730513be 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -3673,7 +3673,7 @@ static void WM_OT_doc_view_manual_ui_context(wmOperatorType *ot) /* -------------------------------------------------------------------- */ /** \name Toggle Stereo 3D Operator * - * Turning it fullscreen if needed. + * Turning it full-screen if needed. * \{ */ static void WM_OT_stereo3d_set(wmOperatorType *ot) @@ -3805,7 +3805,7 @@ static void gesture_circle_modal_keymap(wmKeyConfig *keyconf) /* WARNING: Name is incorrect, use for non-3d views. */ wmKeyMap *keymap = WM_modalkeymap_find(keyconf, "View3D Gesture Circle"); - /* this function is called for each spacetype, only needs to add map once */ + /* This function is called for each space-type, only needs to add map once. */ if (keymap && keymap->modal_items) { return; } @@ -3838,7 +3838,7 @@ static void gesture_straightline_modal_keymap(wmKeyConfig *keyconf) wmKeyMap *keymap = WM_modalkeymap_find(keyconf, "Gesture Straight Line"); - /* this function is called for each spacetype, only needs to add map once */ + /* This function is called for each space-type, only needs to add map once. */ if (keymap && keymap->modal_items) { return; } @@ -3867,7 +3867,7 @@ static void gesture_box_modal_keymap(wmKeyConfig *keyconf) wmKeyMap *keymap = WM_modalkeymap_find(keyconf, "Gesture Box"); - /* this function is called for each spacetype, only needs to add map once */ + /* This function is called for each space-type, only needs to add map once. */ if (keymap && keymap->modal_items) { return; } @@ -3920,7 +3920,7 @@ static void gesture_lasso_modal_keymap(wmKeyConfig *keyconf) wmKeyMap *keymap = WM_modalkeymap_find(keyconf, "Gesture Lasso"); - /* this function is called for each spacetype, only needs to add map once */ + /* This function is called for each space-type, only needs to add map once. */ if (keymap && keymap->modal_items) { return; } @@ -3955,7 +3955,7 @@ static void gesture_zoom_border_modal_keymap(wmKeyConfig *keyconf) wmKeyMap *keymap = WM_modalkeymap_find(keyconf, "Gesture Zoom Border"); - /* this function is called for each spacetype, only needs to add map once */ + /* This function is called for each space-type, only needs to add map once. */ if (keymap && keymap->modal_items) { return; } diff --git a/source/blender/windowmanager/intern/wm_playanim.c b/source/blender/windowmanager/intern/wm_playanim.c index 60f3842bc7c..7c6650922a4 100644 --- a/source/blender/windowmanager/intern/wm_playanim.c +++ b/source/blender/windowmanager/intern/wm_playanim.c @@ -1353,7 +1353,7 @@ static void playanim_window_open(const char *title, int posx, int posy, int size posy, sizex, sizey, - /* could optionally start fullscreen */ + /* Could optionally start full-screen. */ GHOST_kWindowStateNormal, false, GHOST_kDrawingContextTypeOpenGL, diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c index b428fd65e7f..d2339d7efad 100644 --- a/source/blender/windowmanager/intern/wm_window.c +++ b/source/blender/windowmanager/intern/wm_window.c @@ -1281,7 +1281,7 @@ static bool ghost_event_proc(GHOST_EventHandle evt, GHOST_TUserDataPtr C_void_pt state_str = "maximized"; } else if (state == GHOST_kWindowStateFullScreen) { - state_str = "fullscreen"; + state_str = "full-screen"; } else { state_str = "<unknown>"; |