tFix mouse selection - ledit - Text editor (WIP)
HTML git clone git://lumidify.org/ledit.git (fast, but not encrypted)
HTML git clone https://lumidify.org/git/ledit.git (encrypted, but very slow)
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit beb7f21a8ff254c0869395c85d3166c42f48e532
DIR parent a6b0d8d09433aa8cb97c9fbe03e6fae5f7877bf6
HTML Author: lumidify <nobody@lumidify.org>
Date: Sun, 16 Jan 2022 21:00:42 +0100
Fix mouse selection
Diffstat:
M view.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/view.c b/view.c
t@@ -1625,7 +1625,7 @@ view_xy_to_line_byte(ledit_view *view, int x, int y, int snap_to_nearest, size_t
}
}
*line_ret = i;
- break;
+ return;
}
h += vline->h;
}