* traverse the entry so that symlinks to files can be opened as well
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27957 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -92,7 +92,7 @@ const uint32 kMsgPopUpMenuClosed = 'pmcl';
|
|||||||
static bool
|
static bool
|
||||||
entry_ref_is_file(const entry_ref *ref)
|
entry_ref_is_file(const entry_ref *ref)
|
||||||
{
|
{
|
||||||
BEntry entry(ref);
|
BEntry entry(ref, true);
|
||||||
if (entry.InitCheck() != B_OK)
|
if (entry.InitCheck() != B_OK)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user