Fixed AppFileInfo::_ReadData(): it was always returning B_BAD_VALUE in case
it read the data from attributes. Deskbar should now display all those application icons under Haiku as well :-) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15159 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
ff89d51e02
commit
773be69904
@ -1117,8 +1117,7 @@ BAppFileInfo::_ReadData(const char *name, int32 id, type_code type,
|
||||
else
|
||||
error = B_ERROR;
|
||||
}
|
||||
|
||||
} else
|
||||
} else if (!foundData)
|
||||
error = B_BAD_VALUE;
|
||||
|
||||
// return the allocated buffer, or free it on error
|
||||
|
Loading…
Reference in New Issue
Block a user