Skip to content

Commit

Permalink
color_picker.c: Add a const.
Browse files Browse the repository at this point in the history
  • Loading branch information
TurboGit committed Nov 26, 2024
1 parent d9e1adf commit a2bea12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/color_picker.c
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ void dt_color_picker_backtransform_box(dt_develop_t *dev,
const float wdp = MAX(1, dev->preview_pipe->processed_width);
const float htp = MAX(1, dev->preview_pipe->processed_height);

int out_num = num == 2 ? 4 : 1;
const int out_num = num == 2 ? 4 : 1;

for(int i = 0; i < out_num; i++)
{
Expand Down

0 comments on commit a2bea12

Please sign in to comment.