Skip to content

Commit 3baf0d8

Browse files
committed
Fix boolean assignments
Signed-off-by: Stefan Weil <[email protected]>
1 parent e965de7 commit 3baf0d8

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/ccmain/fixspace.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
* spacing possibilities, trying to use context to improve the
55
* word spacing
66
* Author: Phil Cheatle
7-
* Created: Thu Oct 21 11:38:43 BST 1993
87
*
98
* (C) Copyright 1993, Hewlett-Packard Ltd.
109
** Licensed under the Apache License, Version 2.0 (the "License");
@@ -445,7 +444,7 @@ void transform_to_next_perm(WERD_RES_LIST &words) {
445444
*copy_word = *(prev_word->word);
446445
// deep copy
447446
combo = new WERD_RES(copy_word);
448-
combo->combination = TRUE;
447+
combo->combination = true;
449448
combo->x_height = prev_word->x_height;
450449
prev_word->part_of_combo = true;
451450
prev_word_it.add_before_then_move(combo);

src/ccstruct/pageres.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
* Holds data used during word recognition.
88
* Holds information about alternative spacing paths.
99
* Author: Phil Cheatle
10-
* Created: Tue Sep 22 08:42:49 BST 1992
1110
*
1211
* (C) Copyright 1992, Hewlett-Packard Ltd.
1312
** Licensed under the Apache License, Version 2.0 (the "License");
@@ -177,7 +176,7 @@ ROW_RES::ROW_RES(bool merge_similar_words, ROW *the_row) {
177176
*copy_word = *(word_it.data()); // deep copy
178177
combo = new WERD_RES(copy_word);
179178
combo->x_height = the_row->x_height();
180-
combo->combination = TRUE;
179+
combo->combination = true;
181180
word_res_it.add_to_end(combo);
182181
}
183182
word_res->part_of_combo = TRUE;

0 commit comments

Comments
 (0)