Skip to content

Commit

Permalink
Fix whitespace issues (space at line endings)
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Jul 28, 2024
1 parent c5030ea commit e1fea07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/pagerenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ char *TessBaseAPI::GetPAGEText(ETEXT_DESC *monitor, int page_number) {
<< "\" caption=\"Regions reading order\">\n";

ResultIterator *res_it = GetIterator();

float block_conf = 0;
float line_conf = 0;

Expand Down Expand Up @@ -874,7 +874,7 @@ char *TessBaseAPI::GetPAGEText(ETEXT_DESC *monitor, int page_number) {
// for now using LinePts
bool skewed_flag = (orientation_block != ORIENTATION_PAGE_UP &&
orientation_block != ORIENTATION_PAGE_DOWN);

if (res_it->IsAtBeginningOf(RIL_TEXTLINE)) {
// writing_direction_before = writing_direction;
line_conf = ((res_it->Confidence(RIL_TEXTLINE)) / 100.);
Expand Down

0 comments on commit e1fea07

Please sign in to comment.