Commit 238df938 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

yet another cosmetic fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4087 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment