Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-09-24 19:46:51 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-09-24 19:48:29 +0300
commit342e73f90fc5c41af8db3a6e3dfdf1746f7f5bc4 (patch)
tree47fdb91d8e16b1c89f9ca358cb0172e862905ee1 /source/blender/windowmanager/intern
parent9682e43bf9e078165b3d4d52c6a19c430ec2cbf2 (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/intern')
-rw-r--r--source/blender/windowmanager/intern/wm_draw.c2
-rw-r--r--source/blender/windowmanager/intern/wm_event_system.c2
-rw-r--r--source/blender/windowmanager/intern/wm_files.c2
-rw-r--r--source/blender/windowmanager/intern/wm_stereo.c2
-rw-r--r--source/blender/windowmanager/intern/wm_window.c2
5 files changed, 5 insertions, 5 deletions
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;