warning-- (not that it matters -- this code has yet to be converted)
This commit is contained in:
parent
df2d876f72
commit
6c8ae0df1f
1 changed files with 2 additions and 2 deletions
|
@ -630,7 +630,7 @@ void HUD::Tape::zoomed_scale(int first, int last)
|
|||
float factor = range / 10.0;
|
||||
|
||||
float hgt1 = bottom * 30.0 / 100.0;
|
||||
int incrs = ((int)_val_span - (_major_divs * 2)) / _major_divs ; // FIXME wtf?
|
||||
int incrs = int((_val_span - _major_divs * 2.0) / _major_divs);
|
||||
int incr = incrs / 2;
|
||||
float factors = hgt1 / incr;
|
||||
|
||||
|
@ -793,7 +793,7 @@ void HUD::Tape::zoomed_scale(int first, int last)
|
|||
float factor = range / 10.0;
|
||||
|
||||
float hgt1 = bottom * 30.0 / 100.0;
|
||||
int incrs = ((int)_val_span - (_major_divs * 2)) / _major_divs ;
|
||||
int incrs = int((_val_span - _major_divs * 2.0) / _major_divs);
|
||||
int incr = incrs / 2;
|
||||
float factors = hgt1 / incr;
|
||||
|
||||
|
|
Loading…
Reference in a new issue