Skip to content

Commit becec34

Browse files
committed
Fix some typos in comments (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
1 parent 31486f7 commit becec34

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ccmain/tessedit.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ bool Tesseract::init_tesseract_lang_data(
110110
return false;
111111
}
112112
if (oem == OEM_DEFAULT) {
113-
// Set the engine mode from availablity, which can then be overidden by
113+
// Set the engine mode from availability, which can then be overidden by
114114
// the config file when we read it below.
115115
if (!tessdata_manager.IsLSTMAvailable()) {
116116
tessedit_ocr_engine_mode.set_value(OEM_TESSERACT_ONLY);

textord/scanedg.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ void join_edges(CRACKEDGE *edge1, // edges to join
335335
if (edge1->pos.x() + edge1->stepx != edge2->pos.x()
336336
|| edge1->pos.y() + edge1->stepy != edge2->pos.y()) {
337337
CRACKEDGE *tempedge = edge1;
338-
edge1 = edge2; // swap araound
338+
edge1 = edge2; // swap around
339339
edge2 = tempedge;
340340
}
341341

0 commit comments

Comments
 (0)