From 407c165c6cdef4d105ee1e7c58982b2952afb74b Mon Sep 17 00:00:00 2001 From: Ger Hobbelt Date: Fri, 5 Jan 2024 22:19:27 +0100 Subject: [PATCH] preliminary fix for #4148; looks like it was caused by copy-paste of assert. --- src/ccstruct/pageres.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ccstruct/pageres.cpp b/src/ccstruct/pageres.cpp index dd875976f7..f26a0ae3eb 100644 --- a/src/ccstruct/pageres.cpp +++ b/src/ccstruct/pageres.cpp @@ -1563,7 +1563,7 @@ void PAGE_RES_IT::DeleteCurrentWord() { break; } } - ASSERT_HOST(!w_it.cycled_list()); + // ASSERT_HOST(!w_it.cycled_list()); -- #4148 fix delete w_it.extract(); } // Remove the WERD_RES for the new_word.