X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=aoview%2Faoview_dev.c;h=2fabfe267b62c7af8636c2a4ce759fe25ba6f599;hb=0f3233c49f43cd4e372e613303919ce4d50255b2;hp=33f7f8ecde929b20b602ffa0f07e7b1a8fe966a1;hpb=33221277690e6ee30387c506c3f2b8237ed48efd;p=fw%2Faltos 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;