fix numerical overflow
This commit is contained in:
		| @@ -1623,7 +1623,7 @@ function ggwp:av() | ||||
|  font_monogram() | ||||
|  local score_pct = 100 | ||||
|  if seq.max_score ~= 0 then | ||||
|   score_pct = seq.score*100\seq.max_score | ||||
|   score_pct = seq.score/seq.max_score*100\1 | ||||
|  end | ||||
|  if (score_pct == 0 and seq.score > 0) score_pct = 1 | ||||
|  self.score_pct = "\^w\^t"..tostr(score_pct).."%" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user