diff options
Diffstat (limited to 'source/blender/windowmanager')
6 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/windowmanager/intern/wm_cursors.c b/source/blender/windowmanager/intern/wm_cursors.c index f97391c0d6e..039f3bff4d1 100644 --- a/source/blender/windowmanager/intern/wm_cursors.c +++ b/source/blender/windowmanager/intern/wm_cursors.c @@ -300,7 +300,7 @@ void WM_timecursor(wmWindow *win, int nr) * (3 bytes = 17 bits rounded up to nearest whole byte). Pad extra bits * in mask with 0's. * - * Setting big_bm=NULL disables the large version of the cursor. + * Setting big_bm = NULL disables the large version of the cursor. * * ******************************************************************* * diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c index fccd3b387f9..5f2d9c6fb54 100644 --- a/source/blender/windowmanager/intern/wm_event_system.c +++ b/source/blender/windowmanager/intern/wm_event_system.c @@ -831,7 +831,7 @@ static int wm_operator_invoke(bContext *C, wmOperatorType *ot, wmEvent *event, P return WM_operator_poll(C, ot); if (WM_operator_poll(C, ot)) { - wmOperator *op = wm_operator_create(wm, ot, properties, reports); /* if reports==NULL, theyll be initialized */ + wmOperator *op = wm_operator_create(wm, ot, properties, reports); /* if reports == NULL, they'll be initialized */ const short is_nested_call = (wm->op_undo_depth != 0); /* initialize setting from previous run */ diff --git a/source/blender/windowmanager/intern/wm_gesture.c b/source/blender/windowmanager/intern/wm_gesture.c index 14a25cc13e0..e4b7d1c5d5f 100644 --- a/source/blender/windowmanager/intern/wm_gesture.c +++ b/source/blender/windowmanager/intern/wm_gesture.c @@ -331,7 +331,7 @@ void wm_gesture_draw(wmWindow *win) if (gt->type == WM_GESTURE_RECT) wm_gesture_draw_rect(gt); -// else if (gt->type==WM_GESTURE_TWEAK) +// else if (gt->type == WM_GESTURE_TWEAK) // wm_gesture_draw_line(gt); else if (gt->type == WM_GESTURE_CIRCLE) wm_gesture_draw_circle(gt); diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c index 8ce882e887e..2cd955e9ee9 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -1015,8 +1015,8 @@ static void dialog_exec_cb(bContext *C, void *arg1, void *arg2) WM_operator_call(C, data->op); /* let execute handle freeing it */ - //data->free_op= FALSE; - //data->op= NULL; + //data->free_op = FALSE; + //data->op = NULL; /* in this case, wm_operator_ui_popup_cancel wont run */ MEM_freeN(data); @@ -1314,7 +1314,7 @@ static uiBlock *wm_block_create_splash(bContext *C, ARegion *ar, void *UNUSED(ar menu.type = mt; mt->draw(C, &menu); -// wmWindowManager *wm= CTX_wm_manager(C); +// wmWindowManager *wm = CTX_wm_manager(C); // uiItemM(layout, C, "USERPREF_MT_keyconfigs", U.keyconfigstr, ICON_NONE); } diff --git a/source/blender/windowmanager/intern/wm_subwindow.c b/source/blender/windowmanager/intern/wm_subwindow.c index 563eef8304c..cf983f7795f 100644 --- a/source/blender/windowmanager/intern/wm_subwindow.c +++ b/source/blender/windowmanager/intern/wm_subwindow.c @@ -149,7 +149,7 @@ void wm_subwindow_getmatrix(wmWindow *win, int swinid, float mat[][4]) } /* always sets pixel-precise 2D window/view matrices */ -/* coords is in whole pixels. xmin = 15, xmax= 16: means window is 2 pix big */ +/* coords is in whole pixels. xmin = 15, xmax = 16: means window is 2 pix big */ int wm_subwindow_open(wmWindow *win, rcti *winrct) { wmSubWindow *swin; diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c index e6eff908e33..7361e74755e 100644 --- a/source/blender/windowmanager/intern/wm_window.c +++ b/source/blender/windowmanager/intern/wm_window.c @@ -622,7 +622,7 @@ void wm_window_make_drawable(bContext *C, wmWindow *win) wmWindowManager *wm = CTX_wm_manager(C); if (win != wm->windrawable && win->ghostwin) { -// win->lmbut= 0; /* keeps hanging when mousepressed while other window opened */ +// win->lmbut = 0; /* keeps hanging when mousepressed while other window opened */ wm->windrawable = win; if (G.debug & G_DEBUG_EVENTS) { |