diff options
author | Julian Eisel <julian@blender.org> | 2021-03-11 15:01:27 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2021-03-11 15:06:31 +0300 |
commit | 42c5303409928f5cbc069baf2866ca6330119cce (patch) | |
tree | e0b58a2cd28b2b2fdfcf7ffcd31a4fd92310fd92 /source/blender/windowmanager | |
parent | 5f1f233dc97de34f6be0f51edd3cbf2d8247fbda (diff) |
Cleanup: Typos in comments (window-manager files)
Typos from a509e79a4c77. Looks like issues with an automated cleanup tool.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/intern/wm.c | 4 | ||||
-rw-r--r-- | source/blender/windowmanager/intern/wm_event_system.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/windowmanager/intern/wm.c b/source/blender/windowmanager/intern/wm.c index c5a429d7839..836bca98f65 100644 --- a/source/blender/windowmanager/intern/wm.c +++ b/source/blender/windowmanager/intern/wm.c @@ -642,10 +642,10 @@ void WM_main(bContext *C) /* Per window, all events to the window, screen, area and region handlers. */ wm_event_do_handlers(C); - /* Wvents have left notes about changes, we handle and cache it. */ + /* Events have left notes about changes, we handle and cache it. */ wm_event_do_notifiers(C); - /* Wxecute cached changes draw. */ + /* Execute cached changes draw. */ wm_draw_update(C); } } diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c index 470952956c8..a39200537d5 100644 --- a/source/blender/windowmanager/intern/wm_event_system.c +++ b/source/blender/windowmanager/intern/wm_event_system.c @@ -1319,7 +1319,7 @@ static int wm_operator_invoke(bContext *C, op->flag |= OP_IS_INVOKE; } - /* /initialize setting from previous run. */ + /* Initialize setting from previous run. */ if (!is_nested_call && use_last_properties) { /* Not called by py script. */ WM_operator_last_properties_init(op); } @@ -3190,7 +3190,7 @@ static void wm_event_drag_and_drop_test(wmWindowManager *wm, wmWindow *win, wmEv else if (event->type == LEFTMOUSE && event->val == KM_RELEASE) { event->type = EVT_DROP; - /* Vreate customdata, first free existing. */ + /* Create customdata, first free existing. */ if (event->customdata) { if (event->customdatafree) { MEM_freeN(event->customdata); @@ -3201,7 +3201,7 @@ static void wm_event_drag_and_drop_test(wmWindowManager *wm, wmWindow *win, wmEv event->customdata = &wm->drags; event->customdatafree = 1; - /* Vlear drop icon. */ + /* Clear drop icon. */ screen->do_draw_drag = true; /* restore cursor (disabled, see wm_dragdrop.c) */ |