nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 238df938f01937c6d26bafdb68dd5454d21b6a4c
parent e53c38274f3fa1723481e781f7bffab2efd6560b
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Thu, 19 Apr 2007 03:53:23 +0000

yet another cosmetic fix


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4087 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
Msrc/files.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/files.c b/src/files.c @@ -2253,7 +2253,7 @@ char *input_tab(char *buf, bool allow_files, size_t *place, bool /* If the word starts with `~' and there is no slash in the word, * then try completing this word as a username. */ - if (*place > 0 && *buf == '~') { + if (*place > 0 && buf[0] == '~') { const char *bob = strchr(buf, '/'); if (bob == NULL || bob >= buf + *place)