Fix self-comparison
Here, a value was being compared for equality with itself. GCC warns that this is probably a mistake. I'm assuming that here we are meant to write out a word count when the minimum and maximum counted words are equal?
This commit is contained in:
parent
f5b5971aac
commit
2eda898ed3
2 changed files with 2 additions and 2 deletions
|
@ -611,7 +611,7 @@ int TeX::preform_document(weave_format *self, text_stream *OUT, web *W,
|
|||
if (L->preform_nonterminal_defined->voracious)
|
||||
WRITE(" (voracious)");
|
||||
else if (L->preform_nonterminal_defined->min_word_count ==
|
||||
L->preform_nonterminal_defined->min_word_count)
|
||||
L->preform_nonterminal_defined->max_word_count)
|
||||
WRITE(" (%d word%s)",
|
||||
L->preform_nonterminal_defined->min_word_count,
|
||||
(L->preform_nonterminal_defined->min_word_count != 1)?"s":"");
|
||||
|
|
|
@ -28087,7 +28087,7 @@ int TeX__preform_document(weave_format *self, text_stream *OUT, web *W,
|
|||
if (L->preform_nonterminal_defined->voracious)
|
||||
WRITE(" (voracious)");
|
||||
else if (L->preform_nonterminal_defined->min_word_count ==
|
||||
L->preform_nonterminal_defined->min_word_count)
|
||||
L->preform_nonterminal_defined->max_word_count)
|
||||
WRITE(" (%d word%s)",
|
||||
L->preform_nonterminal_defined->min_word_count,
|
||||
(L->preform_nonterminal_defined->min_word_count != 1)?"s":"");
|
||||
|
|
Loading…
Reference in a new issue