Fix failing selection test
Unintialized memory use, was not creating an issue in debug builds only on the CI servers
This commit is contained in:
parent
294d01def6
commit
e2a603dcda
1 changed files with 1 additions and 0 deletions
|
|
@ -337,6 +337,7 @@ multi_click(Window *w, unsigned int count) {
|
|||
unsigned int y1, y2;
|
||||
switch(count) {
|
||||
case 2:
|
||||
y1 = w->mouse_pos.cell_y;
|
||||
if (screen_selection_range_for_word(screen, w->mouse_pos.cell_x, &y1, &y2, &start, &end, true)) mode = EXTEND_WORD;
|
||||
break;
|
||||
case 3:
|
||||
|
|
|
|||
Loading…
Reference in a new issue