* style cleanup

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42722 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Alexander von Gluck IV
2011-09-08 02:22:05 +00:00
parent eaa31a573d
commit 252add8c21
+4 -5
View File
@@ -198,8 +198,7 @@ DevicesView::RebuildDevicesOutline()
AddChildrenToOutlineByConnection(fDevices[i]);
}
}
}
else if (fOrderBy == ORDER_BY_CATEGORY) {
} else if (fOrderBy == ORDER_BY_CATEGORY) {
// Add all categories to the outline
CategoryMapIterator iter;
for (iter = fCategoryMap.begin(); iter != fCategoryMap.end(); iter++) {
@@ -212,10 +211,10 @@ DevicesView::RebuildDevicesOutline()
iter = fCategoryMap.find(category);
if (iter == fCategoryMap.end()) {
std::cerr << "Tried to add device without category, file a bug\n";
std::cerr
<< "Tried to add device without category, file a bug\n";
continue;
}
else {
} else {
fDevicesOutline->AddUnder(fDevices[i], iter->second);
}
}