diff options
author | pgen <p.gen.progs@gmail.com> | 2022-11-10 23:13:19 +0100 |
---|---|---|
committer | pgen <p.gen.progs@gmail.com> | 2022-11-10 23:13:19 +0100 |
commit | cad6ed5a6281941ebafe9d776f9b71947a04e620 (patch) | |
tree | 33ba2bf398f80577d0eecacac622b73cd64ff9db /smenu.c | |
parent | d1601eb2431fa17a57ceddd7b43f66fdb29fc634 (diff) |
Fix a small error in the selection with the mouse
The detection of long lines is not done correctly, which results in the
selection of a word when the mouse pointer is not exactly on it.
Diffstat (limited to 'smenu.c')
-rw-r--r-- | smenu.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3880,10 +3880,10 @@ disp_lines(win_t * win, toggle_t * toggles, long current, long count, strcpy(scroll_symbol, shift_left_sym); else strcpy(scroll_symbol, "<"); - - if (!win->has_truncated_lines) - win->has_truncated_lines = 1; } + + if (!win->has_truncated_lines) + win->has_truncated_lines = 1; } else scroll_symbol[0] = '\0'; |