diff options
author | Hans Goudey <h.goudey@me.com> | 2022-09-02 22:21:35 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-09-02 23:44:05 +0300 |
commit | 4068880ffcb76ca8d7f1f205fb1605588d711572 (patch) | |
tree | 31249d64c706c8aa543257c246e4e21af0cfbdbe /source/blender/editors/space_node/node_draw.cc | |
parent | 0fb699b21283f259dfc7a4ac74f524da5d5a5f3e (diff) |
Cleanup: Remove unnecessary struct keyword usage in node editor
Diffstat (limited to 'source/blender/editors/space_node/node_draw.cc')
-rw-r--r-- | source/blender/editors/space_node/node_draw.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_node/node_draw.cc b/source/blender/editors/space_node/node_draw.cc index 0068e5d96e1..e8e9a627917 100644 --- a/source/blender/editors/space_node/node_draw.cc +++ b/source/blender/editors/space_node/node_draw.cc @@ -1308,7 +1308,7 @@ static void node_draw_preview(bNodePreview *preview, rctf *prv) } /* Common handle function for operator buttons that need to select the node first. */ -static void node_toggle_button_cb(struct bContext *C, void *node_argv, void *op_argv) +static void node_toggle_button_cb(bContext *C, void *node_argv, void *op_argv) { bNode *node = (bNode *)node_argv; const char *opname = (const char *)op_argv; @@ -2768,7 +2768,7 @@ static void frame_node_draw_label(const bNodeTree &ntree, BLF_wordwrap(fontid, line_width); LISTBASE_FOREACH (const TextLine *, line, &text->lines) { - struct ResultBLF info; + ResultBLF info; if (line->line[0]) { BLF_position(fontid, x, y, 0); BLF_draw_ex(fontid, line->line, line->len, &info); |