diff options
author | pgen <p.gen.progs@gmail.com> | 2022-11-13 11:13:22 +0100 |
---|---|---|
committer | pgen <p.gen.progs@gmail.com> | 2022-11-13 11:13:22 +0100 |
commit | 813078ebf97a875a60ad3ae0c46cb7d197585214 (patch) | |
tree | daf84e0c9528a2d3483c5d66aaea691c80a79d20 /smenu.c | |
parent | d79b3fd48a14d941125e60da39c53c42f7076b9e (diff) |
Correct a logical condition
The verification that the double-click delay was within the imposed
limits was not good.
Diffstat (limited to 'smenu.c')
-rw-r--r-- | smenu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6554,7 +6554,7 @@ double_click_action(char * ctx_name, char * opt_name, char * param, return; /* default value (150 ~ 1/6.66th second) is set in main(). */ else if (mouse->double_click_delay == 0) *ddc = 1; /* disable double_click; */ - else if (mouse->double_click_delay >= 100 || mouse->double_click_delay <= 500) + else if (mouse->double_click_delay >= 100 && mouse->double_click_delay <= 500) mouse->double_click_delay = val; } |