Cleanup: Typos in comments (window-manager files)

Typos from a509e79a4c. Looks like issues with an automated cleanup tool.
This commit is contained in:
Julian Eisel 2021-03-11 13:01:27 +01:00
parent 5f1f233dc9
commit 42c5303409
2 changed files with 5 additions and 5 deletions

View File

@ -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);
}
}

View File

@ -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) */