summaryrefslogtreecommitdiffstats
path: root/smenu.c
diff options
context:
space:
mode:
Diffstat (limited to 'smenu.c')
-rw-r--r--smenu.c24
1 files changed, 8 insertions, 16 deletions
diff --git a/smenu.c b/smenu.c
index 8e2f3a8..d55039c 100644
--- a/smenu.c
+++ b/smenu.c
@@ -10435,8 +10435,7 @@ main(int argc, char * argv[])
ksol:
/* Go to the start of the line. */
/* """""""""""""""""""""""""""" */
- if (search_mode != NONE)
- search_mode = NONE;
+ search_mode = NONE;
/* Fall through. */
/* """"""""""""" */
@@ -10464,8 +10463,7 @@ main(int argc, char * argv[])
kl:
/* Cursor Left key has been pressed. */
/* """"""""""""""""""""""""""""""""" */
- if (search_mode != NONE)
- search_mode = NONE;
+ search_mode = NONE;
/* Fall through. */
/* """"""""""""" */
@@ -10482,8 +10480,7 @@ main(int argc, char * argv[])
keol:
/* Go to the end of the line. */
/* """""""""""""""""""""""""" */
- if (search_mode != NONE)
- search_mode = NONE;
+ search_mode = NONE;
/* Fall through. */
/* """"""""""""" */
@@ -10513,8 +10510,7 @@ main(int argc, char * argv[])
kr:
/* Right key has been pressed. */
/* """"""""""""""""""""""""""" */
- if (search_mode != NONE)
- search_mode = NONE;
+ search_mode = NONE;
/* Fall through. */
/* """"""""""""" */
@@ -10545,8 +10541,7 @@ main(int argc, char * argv[])
ku:
/* Cursor Up key has been pressed. */
/* """"""""""""""""""""""""""""""" */
- if (search_mode != NONE)
- search_mode = NONE;
+ search_mode = NONE;
/* Fall through. */
/* """"""""""""" */
@@ -10565,8 +10560,7 @@ main(int argc, char * argv[])
/* """""""""""""""""""""""""""""""" */
current = 0;
- if (search_mode != NONE)
- search_mode = NONE;
+ search_mode = NONE;
/* Find the first selectable word. */
/* """"""""""""""""""""""""""""""" */
@@ -10615,8 +10609,7 @@ main(int argc, char * argv[])
kd:
/* Cursor Down key has been pressed. */
/* """"""""""""""""""""""""""""""""" */
- if (search_mode != NONE)
- search_mode = NONE;
+ search_mode = NONE;
/* Fall through. */
/* """"""""""""" */
@@ -10635,8 +10628,7 @@ main(int argc, char * argv[])
/* """"""""""""""""""""""""""""""" */
current = count - 1;
- if (search_mode != NONE)
- search_mode = NONE;
+ search_mode = NONE;
/* Find the first selectable word. */
/* """"""""""""""""""""""""""""""" */