| ... | ... |
@@ -64,8 +64,7 @@ static int cmpchoice(const void *p1, const void *p2) {
|
| 64 | 64 |
double score2 = choices_score[idx2]; |
| 65 | 65 |
|
| 66 | 66 |
if(score1 == score2) |
| 67 |
- /* break ties by length of result */ |
|
| 68 |
- return strlen(choices[idx1]) - strlen(choices[idx2]); |
|
| 67 |
+ return 0; |
|
| 69 | 68 |
else if(score1 < score2) |
| 70 | 69 |
return 1; |
| 71 | 70 |
else |