aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen_utils.c')
-rw-r--r--src/screen_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen_utils.c b/src/screen_utils.c
index e44d8eb67..308d049f4 100644
--- a/src/screen_utils.c
+++ b/src/screen_utils.c
@@ -177,7 +177,7 @@ screen_find(list_window_t *lw,
&screen.find_history,
NULL);
- if (!screen.findbuf || !screen.findbuf[0])
+ if (screen.findbuf == NULL)
return 1;
if (reversed)