commit 2df0cbd08bdc208b357d22005178a8723c0c94d3
parent b9a1f1747fa922a1d6a13dd47e15d247a4d1d506
Author: NRK <nrk@disroot.org>
Date: Wed, 1 Jun 2022 19:42:29 +0600
fix incorrect comment
xextension() uses xmemrchr to find '.'
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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).
*/