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:
Kovid Goyal
2020-02-25 21:44:54 +05:30
parent 294d01def6
commit e2a603dcda

View File

@@ -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: