Skip to content

Commit fe11c19

Browse files
committed
Add missing argument for tprintf
The format string expects 3 int arguments. Signed-off-by: Stefan Weil <[email protected]>
1 parent 8dab597 commit fe11c19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ccstruct/pageres.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ bool WERD_RES::StatesAllValid() {
459459
WERD_CHOICE* choice = it.data();
460460
if (choice->TotalOfStates() != ratings_dim) {
461461
tprintf("Cooked #%d has total of states = %d vs ratings dim of %d\n",
462-
choice->TotalOfStates(), ratings_dim);
462+
index, choice->TotalOfStates(), ratings_dim);
463463
return false;
464464
}
465465
}

0 commit comments

Comments
 (0)