Skip to content

Commit

Permalink
d.barscale: positioning of mixed_checker addressing duplicateExpressi…
Browse files Browse the repository at this point in the history
…on warning (#3366)
  • Loading branch information
Sharansrj567 authored Jan 26, 2024
1 parent fd3f484 commit 3693974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion display/d.barscale/draw_scale.c
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ int draw_scale(double east, double north, int length, int seg, int units,
xarr[1] = seg_len;
yarr[1] = 0;
xarr[2] = 0;
yarr[2] = (i % 2 ? ysize_checker : +ysize_checker);
yarr[2] = +ysize_checker;
xarr[3] = -seg_len;
yarr[3] = 0;
xarr[4] = 0;
Expand Down

0 comments on commit 3693974

Please sign in to comment.