diff --git a/src/ccstruct/stepblob.cpp b/src/ccstruct/stepblob.cpp index 4c61b6c659..546a9759b6 100644 --- a/src/ccstruct/stepblob.cpp +++ b/src/ccstruct/stepblob.cpp @@ -208,9 +208,7 @@ void C_BLOB::ConstructBlobsFromOutlines(bool good_blob, C_OUTLINE_LIST *outline_ // Set inverse flag and reverse if needed. blob->CheckInverseFlagAndDirection(); // Put on appropriate list. - if (!blob_is_good && bad_blobs_it != nullptr) { - bad_blobs_it->add_after_then_move(blob); - } else { + if (!(!blob_is_good && bad_blobs_it != nullptr)) { good_blobs_it->add_after_then_move(blob); } }