Commit 41aa9471 authored by Bruno Randolf's avatar Bruno Randolf

fix braino in normalize_db

parent e47f5242
......@@ -71,7 +71,7 @@ static inline int normalize_db(int val, int max)
{
if (val <= 30)
return 0;
else if (val >= 70)
else if (val >= 100)
return max;
else
return normalize(val - 30, 70, max);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment