mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 14:50:38 +00:00
Use floor() instead of floorf().
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19749 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2c09060053
commit
ec389a2c20
2 changed files with 6 additions and 1 deletions
|
@ -970,7 +970,7 @@ static NSColor *scrollBarColor = nil;
|
|||
|
||||
/* calc knob's position */
|
||||
knobPosition = _floatValue * (slotHeight - knobHeight);
|
||||
knobPosition = (float)floorf(knobPosition);
|
||||
knobPosition = floor(knobPosition);
|
||||
|
||||
|
||||
/* calc actual position */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue