File tree 3 files changed +5
-4
lines changed
3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -170,8 +170,8 @@ Candidate candidate[];
170
170
reduction ++ ;
171
171
if (candidate [i ].for_deletion )
172
172
reduction ++ ;
173
- if (reduction > move_reduction || reduction == move_reduction &&
174
- candidate [i ].sync -> substr -> length < move_length )
173
+ if (reduction > move_reduction || ( reduction == move_reduction &&
174
+ candidate [i ].sync -> substr -> length < move_length ))
175
175
{
176
176
move_i = i ;
177
177
move_length = candidate [i ].sync -> substr -> length ;
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ char *argv[];
152
152
int i ;
153
153
Synclist synclist1 , synclist2 ;
154
154
initialize (& argc , argv , usage , option );
155
- if (argc < 2 || transpose && argc > 2 )
155
+ if (argc < 2 || ( transpose && argc > 2 ) )
156
156
error ("invalid number of text files" );
157
157
text = NEW_ARRAY (argc , Text );
158
158
for (i = 0 ; i < argc ; i ++ )
Original file line number Diff line number Diff line change @@ -118,11 +118,12 @@ char *argv[];
118
118
if (wfraction &&
119
119
!valid_fraction (wfraction , & suspect_weight , & unmarked_weight ))
120
120
error_string ("invalid weight" , wfraction );
121
- if (sfraction )
121
+ if (sfraction ) {
122
122
if (valid_fraction (sfraction , & m , & n ))
123
123
suspect_threshold = actual_voters * unmarked_weight * m / n ;
124
124
else
125
125
error_string ("invalid threshold" , sfraction );
126
+ }
126
127
}
127
128
/**********************************************************************/
128
129
You can’t perform that action at this time.
0 commit comments