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:
Axel Dörfler 2005-11-26 13:50:29 +00:00
parent ff89d51e02
commit 773be69904

View File

@ -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