From 2df0cbd08bdc208b357d22005178a8723c0c94d3 Mon Sep 17 00:00:00 2001 From: NRK Date: Wed, 1 Jun 2022 19:42:29 +0600 Subject: [PATCH] fix incorrect comment xextension() uses xmemrchr to find '.' --- src/nnn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nnn.c b/src/nnn.c index d8e259e0..e905b9db 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -1033,7 +1033,7 @@ static inline bool is_prefix(const char *restrict str, const char *restrict pref /* * The poor man's implementation of memrchr(3). - * We are only looking for '/' in this program. + * We are only looking for '/' and '.' in this program. * And we are NOT expecting a '/' at the end. * Ideally 0 < n <= xstrlen(s). */