diff options
author | Campbell Barton <campbell@blender.org> | 2022-06-09 14:26:48 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-06-09 14:26:48 +0300 |
commit | ed159004739c7331640a88ab3c4fe25e33c8ebc0 (patch) | |
tree | eb64fea11c4e88204aacb68f9708577fca8e90e0 /source/blender/editors/gpencil | |
parent | 8a6cbcf386a1833d2b76aa0afc8abf830493f190 (diff) |
Cleanup: use const variables & arguments
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_utils.c b/source/blender/editors/gpencil/gpencil_utils.c index 9a9461913fc..4733da85291 100644 --- a/source/blender/editors/gpencil/gpencil_utils.c +++ b/source/blender/editors/gpencil/gpencil_utils.c @@ -1747,7 +1747,7 @@ static void gpencil_brush_cursor_draw(bContext *C, int x, int y, void *customdat float darkcolor[3]; float radius = 3.0f; - int mval_i[2] = {x, y}; + const int mval_i[2] = {x, y}; /* Check if cursor is in drawing region and has valid data-block. */ if ((!gpencil_check_cursor_region(C, mval_i)) || (gpd == NULL)) { return; |