Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This might be the fix for the upper disappearing word of issue 3871 #3899

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open
4 changes: 1 addition & 3 deletions src/ccstruct/stepblob.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down