Skip to content

Commit

Permalink
Merge pull request tesseract-ocr#755 from stweil/doc
Browse files Browse the repository at this point in the history
Fix some typos in comments (found by codespell)
  • Loading branch information
zdenop authored Mar 10, 2017
2 parents 31486f7 + becec34 commit 323f26f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ccmain/tessedit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ bool Tesseract::init_tesseract_lang_data(
return false;
}
if (oem == OEM_DEFAULT) {
// Set the engine mode from availablity, which can then be overidden by
// Set the engine mode from availability, which can then be overidden by
// the config file when we read it below.
if (!tessdata_manager.IsLSTMAvailable()) {
tessedit_ocr_engine_mode.set_value(OEM_TESSERACT_ONLY);
Expand Down
2 changes: 1 addition & 1 deletion textord/scanedg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ void join_edges(CRACKEDGE *edge1, // edges to join
if (edge1->pos.x() + edge1->stepx != edge2->pos.x()
|| edge1->pos.y() + edge1->stepy != edge2->pos.y()) {
CRACKEDGE *tempedge = edge1;
edge1 = edge2; // swap araound
edge1 = edge2; // swap around
edge2 = tempedge;
}

Expand Down

0 comments on commit 323f26f

Please sign in to comment.