Merge branch 'blender-v3.6-release'

This commit is contained in:
Harley Acheson 2023-05-30 10:53:27 -07:00
commit 2d91ebe780
1 changed files with 1 additions and 1 deletions

View File

@ -1270,7 +1270,7 @@ static int console_selectword_invoke(bContext *C, wmOperator *UNUSED(op), const
if (console_line_column_from_index(sc, pos, &cl, &offset, &n)) {
int sel[2] = {n, n};
BLI_str_cursor_step_bounds_utf8(cl->line, cl->len, n, &sel[0], &sel[1]);
BLI_str_cursor_step_bounds_utf8(cl->line, cl->len, n, &sel[1], &sel[0]);
sel[0] = offset - sel[0];
sel[1] = offset - sel[1];