Index: smartdisperse.c =================================================================== --- smartdisperse.c (revision 4875) +++ smartdisperse.c (revision 4876) @@ -171,7 +171,7 @@ /* if we're not doing all, mark the unselected elements as "visited" */ ELEMENT_LOOP(PCB->Data); { - if (!(all || TEST_FLAG(PCB_FLAG_SELECTED, element))) { + if (!(all || PCB_FLAG_TEST(PCB_FLAG_SELECTED, element))) { set_visited(element); } }