Skip to content

Commit

Permalink
Add missing argument for tprintf
Browse files Browse the repository at this point in the history
The format string expects 3 int arguments.

Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Mar 17, 2016
1 parent 8dab597 commit fe11c19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ccstruct/pageres.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ bool WERD_RES::StatesAllValid() {
WERD_CHOICE* choice = it.data();
if (choice->TotalOfStates() != ratings_dim) {
tprintf("Cooked #%d has total of states = %d vs ratings dim of %d\n",
choice->TotalOfStates(), ratings_dim);
index, choice->TotalOfStates(), ratings_dim);
return false;
}
}
Expand Down

0 comments on commit fe11c19

Please sign in to comment.