diff options
-rw-r--r-- | aoview/aoview_dev.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/aoview/aoview_dev.c b/aoview/aoview_dev.c index 33f7f8ec..2fabfe26 100644 --- a/aoview/aoview_dev.c +++ b/aoview/aoview_dev.c @@ -143,6 +143,8 @@ dir_filter_dev(const struct dirent *d) continue; if (c == '-') continue; + if (c == '.' && n != d->d_name + 1) + continue; return 0; } return 1; |