Fixed bug already fixed in the Haiku version.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16126 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
de3b6032e7
commit
9c2d48f374
@ -1118,7 +1118,7 @@ BAppFileInfo::_ReadData(const char *name, int32 id, type_code type,
|
||||
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