tFix mouse selection - ledit - Text editor (WIP) | |
git clone git://lumidify.org/ledit.git (fast, but not encrypted) | |
git clone https://lumidify.org/git/ledit.git (encrypted, but very slow) | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit beb7f21a8ff254c0869395c85d3166c42f48e532 | |
parent a6b0d8d09433aa8cb97c9fbe03e6fae5f7877bf6 | |
Author: lumidify <[email protected]> | |
Date: Sun, 16 Jan 2022 21:00:42 +0100 | |
Fix mouse selection | |
Diffstat: | |
M view.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
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… | |
} | |
} | |
*line_ret = i; | |
- break; | |
+ return; | |
} | |
h += vline->h; | |
} |