Yuck! Bad typo. I wonder why the respective unit test ever passed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10680 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a368fecb8d
commit
f5b1fba063
@ -631,7 +631,7 @@ BNodeInfo::GetTrackerIcon(BBitmap *icon, icon_size iconSize) const
|
|||||||
if (error == B_OK) {
|
if (error == B_OK) {
|
||||||
if (GetType(mimeString) != B_OK) {
|
if (GetType(mimeString) != B_OK) {
|
||||||
struct stat stat;
|
struct stat stat;
|
||||||
error = fNode->GetStat(&stat) == B_OK;
|
error = fNode->GetStat(&stat);
|
||||||
if (error == B_OK) {
|
if (error == B_OK) {
|
||||||
// no type available -- get the icon for the appropriate type (file/dir/etc.)
|
// no type available -- get the icon for the appropriate type (file/dir/etc.)
|
||||||
BMimeType type;
|
BMimeType type;
|
||||||
|
Loading…
Reference in New Issue
Block a user