Merge pull request #558 from stweil/typo

Fix two typos in comments
This commit is contained in:
Egor Pugin 2016-12-11 13:19:52 +03:00 committed by GitHub
commit 49401e6d82
2 changed files with 2 additions and 2 deletions

View File

@ -267,7 +267,7 @@ void REJ::full_print(FILE *fp) {
//The REJMAP class has been hacked to use alloc_struct instead of new [].
//This is to reduce memory fragmentation only as it is rather kludgy.
//alloc_struct by-passes the call to the contsructor of REJ on each
//alloc_struct by-passes the call to the constructor of REJ on each
//array element. Although the constructor is empty, the BITS16 members
//do have a constructor which sets all the flags to 0. The memset
//replaces this functionality.

View File

@ -18,7 +18,7 @@
#include "input_file_buffer.h"
namespace tesseract {
// default and only contsructor
// default and only constructor
InputFileBuffer::InputFileBuffer(const string &file_name)
: file_name_(file_name) {
fp_ = NULL;