Folder node should have mID = 0, not the folder id. Bug 318674.

This commit is contained in:
bryner%brianryner.com 2005-12-02 07:55:02 +00:00
Родитель c9c2daf727
Коммит 2925a31739
1 изменённых файлов: 0 добавлений и 1 удалений

Просмотреть файл

@ -938,7 +938,6 @@ nsNavBookmarks::ResultNodeForFolder(PRInt64 aID,
nsRefPtr<nsNavHistoryQueryNode> node = new nsNavHistoryQueryNode(); nsRefPtr<nsNavHistoryQueryNode> node = new nsNavHistoryQueryNode();
NS_ENSURE_TRUE(node, NS_ERROR_OUT_OF_MEMORY); NS_ENSURE_TRUE(node, NS_ERROR_OUT_OF_MEMORY);
node->mID = aID;
node->mTitle = title; node->mTitle = title;
node->mType = nsINavHistoryResultNode::RESULT_TYPE_QUERY; node->mType = nsINavHistoryResultNode::RESULT_TYPE_QUERY;
node->mQueries = NS_STATIC_CAST(nsINavHistoryQuery**, node->mQueries = NS_STATIC_CAST(nsINavHistoryQuery**,