mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-22 03:02:06 +03:00
(filename_completion_function): use DIR_IS_DOT() macro.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
fc02bf666b
commit
f4183ed2f2
@ -283,7 +283,7 @@ filename_completion_function (const char *text, int state, input_complete_t flag
|
||||
|
||||
temp = g_string_sized_new (16);
|
||||
|
||||
if (users_dirname != NULL && (users_dirname[0] != '.' || users_dirname[1] != '\0'))
|
||||
if (users_dirname != NULL && !DIR_IS_DOT (users_dirname))
|
||||
{
|
||||
g_string_append (temp, users_dirname);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user