mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-22 09:53:03 +08:00
Fix insecure call of tprintf
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
bf39019d95
commit
ea1f597fc1
@ -127,7 +127,7 @@ void SEAM::UndoSeam(TBLOB* blob, TBLOB* other_blob) const {
|
||||
|
||||
// Prints everything in *this SEAM.
|
||||
void SEAM::Print(const char* label) const {
|
||||
tprintf(label);
|
||||
tprintf("%s", label);
|
||||
tprintf(" %6.2f @ (%d,%d), p=%d, n=%d ", priority_, location_.x, location_.y,
|
||||
widthp_, widthn_);
|
||||
for (int s = 0; s < num_splits_; ++s) {
|
||||
|
Loading…
Reference in New Issue
Block a user