aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2021-07-19 11:29:09 -0400
committerGitHub <noreply@github.com>2021-07-19 11:29:09 -0400
commit3b2a85ff76c464ff317459672ce7d46417dd06a0 (patch)
tree9ee8fa7b53fbd01dc6fba4a68bb979f97e98c60c
parentbfb04812d520652ef24f95f227b74c6cc349ba38 (diff)
parent192c21ccde3d34192b443cd69423609f0b61eedf (diff)
downloadrneovim-3b2a85ff76c464ff317459672ce7d46417dd06a0.tar.gz
rneovim-3b2a85ff76c464ff317459672ce7d46417dd06a0.tar.bz2
rneovim-3b2a85ff76c464ff317459672ce7d46417dd06a0.zip
Merge pull request #15070 from dundargoc/PVS/V768
[RDY] chore(PVS/V768): don't use enum as bool.
-rw-r--r--src/nvim/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/search.c b/src/nvim/search.c
index a946a5e24b..809eec7ffc 100644
--- a/src/nvim/search.c
+++ b/src/nvim/search.c
@@ -1501,7 +1501,7 @@ int searchc(cmdarg_T *cap, int t_cmd)
FUNC_ATTR_NONNULL_ALL
{
int c = cap->nchar; // char to search for
- Direction dir = cap->arg; // TRUE for searching forward
+ int dir = cap->arg; // true for searching forward
long count = cap->count1; // repeat count
int col;
char_u *p;