- if (fc->show_children) return FALSE; // TODO(xsdg): new function "should_show"
- return fc->head->data != fd;
+ // Only difference vs. fileclusterlist_has_child. Basically, if the node is a child, but
+ // we're showing children, then don't hide.
+ if (fc->show_children) return FALSE;
+ return !filecluster_fd_equal(fc->head->data, fd);