Skip to content

Commit

Permalink
Fixed issue 1301
Browse files Browse the repository at this point in the history
  • Loading branch information
theraysmith committed Oct 7, 2014
1 parent f77d01e commit a441993
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ccmain/control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1248,7 +1248,6 @@ void Tesseract::fix_rep_char(PAGE_RES_IT* page_res_it) {
word_res->done = TRUE;

// Measure the mean space.
int total_gap = 0;
int gap_count = 0;
WERD* werd = word_res->word;
C_BLOB_IT blob_it(werd->cblob_list());
Expand All @@ -1257,7 +1256,6 @@ void Tesseract::fix_rep_char(PAGE_RES_IT* page_res_it) {
C_BLOB* blob = blob_it.data();
int gap = blob->bounding_box().left();
gap -= prev_blob->bounding_box().right();
total_gap += gap;
++gap_count;
prev_blob = blob;
}
Expand Down

0 comments on commit a441993

Please sign in to comment.