mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user