CID 91: Fix copy/paste error where the wrong variable was passed to an attribute read call, leading to unreachable code.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40288 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rene Gollent 2011-01-25 18:01:02 +00:00
parent 7d7ed9bf4b
commit a6aa0c5f6d

View File

@ -3092,7 +3092,7 @@ TMailWindow::_BuildQueryString(BEntry* entry) const
{
int32 count = 1;
if (node.ReadAttr(kAttrQueryInitialNumAttrs, B_INT32_TYPE, 0,
(int32 *)&mode, sizeof(int32)) <= 0) {
(int32 *)&count, sizeof(int32)) <= 0) {
count = 1;
}