Skip to content

Commit 15d4836

Browse files
committed
fix VS2010 build;
1 parent 9bca55c commit 15d4836

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ccmain/resultiterator.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ ResultIterator::ResultIterator(const LTRResultIterator &resit)
3434
: LTRResultIterator(resit) {
3535
in_minor_direction_ = false;
3636
at_beginning_of_minor_run_ = false;
37+
preserve_interword_spaces_ = false;
3738

3839
BoolParam *p = ParamUtils::FindParam<BoolParam>(
3940
"preserve_interword_spaces", GlobalParams()->bool_params,

ccmain/resultiterator.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ class TESS_API ResultIterator : public LTRResultIterator {
236236
* Should detected inter-word spaces be preserved, or "compressed" to a single
237237
* space character (default behavior).
238238
*/
239-
bool preserve_interword_spaces_ = false;
239+
bool preserve_interword_spaces_;
240240
};
241241

242242
} // namespace tesseract.

0 commit comments

Comments
 (0)