mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-23 18:49:08 +08:00
Fix msvc warning.
This commit is contained in:
parent
07d50ef4a3
commit
1bc983a0dc
@ -3238,10 +3238,10 @@ static bool MultipleCharSamples(CLUSTERER *Clusterer, CLUSTER *Cluster, float Ma
|
||||
InitSampleSearch(SearchState, Cluster);
|
||||
while ((Sample = NextSample(&SearchState)) != nullptr) {
|
||||
CharID = Sample->CharID;
|
||||
if (CharFlags[CharID] == false) {
|
||||
if (CharFlags[CharID] == 0) {
|
||||
CharFlags[CharID] = true;
|
||||
} else {
|
||||
if (CharFlags[CharID] == true) {
|
||||
if (CharFlags[CharID] == 1) {
|
||||
NumIllegalInCluster++;
|
||||
CharFlags[CharID] = ILLEGAL_CHAR;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user