ClangFormat: run with ReflowComments on source/

Prepare for enabling ReflowComments.
This commit is contained in:
2019-05-01 11:09:22 +10:00
parent f70470b540
commit 909665a0d4
184 changed files with 528 additions and 505 deletions

View File

@@ -2203,7 +2203,7 @@ static int wm_handler_operator_call(bContext *C,
wm_event_free_handler(&handler->head);
/* prevent silly errors from operator users */
//retval &= ~OPERATOR_PASS_THROUGH;
// retval &= ~OPERATOR_PASS_THROUGH;
}
}
}

View File

@@ -1158,8 +1158,8 @@ static void dialog_exec_cb(bContext *C, void *arg1, void *arg2)
WM_operator_call_ex(C, data->op, true);
/* 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);

View File

@@ -1284,7 +1284,7 @@ static char *wm_main_playanim_intern(int argc, const char **argv)
GHOST_GetMainDisplayDimensions(g_WS.ghost_system, &maxwinx, &maxwiny);
//GHOST_ActivateWindowDrawingContext(g_WS.ghost_window);
// GHOST_ActivateWindowDrawingContext(g_WS.ghost_window);
/* initialize OpenGL immediate mode */
g_WS.gpu_context = GPU_context_create();

View File

@@ -165,7 +165,7 @@ void wm_stereo3d_draw_sidebyside(wmWindow *win, int view)
soffx = 0;
}
}
else { //RIGHT_LEFT_ID
else { // RIGHT_LEFT_ID
if (cross_eyed) {
soffx = 0;
}

View File

@@ -770,7 +770,7 @@ static void wm_window_ghostwindow_add(wmWindowManager *wm, const char *title, wm
wm_window_swap_buffers(win);
//GHOST_SetWindowState(ghostwin, GHOST_kWindowStateModified);
// GHOST_SetWindowState(ghostwin, GHOST_kWindowStateModified);
/* standard state vars for window */
GPU_state_init();

View File

@@ -42,7 +42,7 @@ enum {
CURSOR_COPY,
};
//typedef struct BCursor_s BCursor;
// typedef struct BCursor_s BCursor;
typedef struct BCursor {
char *small_bm;