Skip to content

Commit

Permalink
Fix wrong x_fsize in hOCR output (regression)
Browse files Browse the repository at this point in the history
The regression was caused by the latest commit
c9e85ab.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed Dec 8, 2018
1 parent ad40131 commit 2c044df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ccmain/ltrresultiterator.cpp
Expand Up @@ -173,7 +173,7 @@ const char* LTRResultIterator::WordFontAttributes(bool* is_bold,
int* font_id) const {
const char* result = nullptr;

if (it_->word()) {
if (it_->word() == nullptr) {
// Already at the end!
*pointsize = 0;
} else {
Expand Down

0 comments on commit 2c044df

Please sign in to comment.