Also include symbolic links.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3767 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -345,7 +345,7 @@ void AddPrinterDialog::FillMenu(BMenu* menu, const char* path, uint32 what) {
|
|||||||
BDirectory dir(addonPath.Path());
|
BDirectory dir(addonPath.Path());
|
||||||
if (dir.InitCheck() != B_OK) continue;
|
if (dir.InitCheck() != B_OK) continue;
|
||||||
BEntry entry;
|
BEntry entry;
|
||||||
while (dir.GetNextEntry(&entry) == B_OK) {
|
while (dir.GetNextEntry(&entry, true) == B_OK) {
|
||||||
if (!entry.IsFile()) continue;
|
if (!entry.IsFile()) continue;
|
||||||
|
|
||||||
BNode node(&entry);
|
BNode node(&entry);
|
||||||
|
|||||||
Reference in New Issue
Block a user