From: NRK Date: Wed, 1 Jun 2022 13:42:29 +0000 (+0600) Subject: fix incorrect comment X-Git-Tag: v4.6~27^2~3 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=2df0cbd08bdc208b357d22005178a8723c0c94d3;p=nnn.git fix incorrect comment xextension() uses xmemrchr to find '.' --- 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). */