mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 16:40:55 +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
|
@ -1,3 +1,8 @@
|
||||||
|
2004-07-20 01:24 Alexander Malmberg <alexander@malmberg.org>
|
||||||
|
|
||||||
|
* Source/NSScroller.m (-rectForPart:): Use floor() instead of
|
||||||
|
floorf().
|
||||||
|
|
||||||
2004-07-18 Gregory John Casamento <greg_casamento@yahoo.com>
|
2004-07-18 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||||
|
|
||||||
* Source/GSNibTemplates.m: Removed some commented out code.
|
* Source/GSNibTemplates.m: Removed some commented out code.
|
||||||
|
|
|
@ -970,7 +970,7 @@ static NSColor *scrollBarColor = nil;
|
||||||
|
|
||||||
/* calc knob's position */
|
/* calc knob's position */
|
||||||
knobPosition = _floatValue * (slotHeight - knobHeight);
|
knobPosition = _floatValue * (slotHeight - knobHeight);
|
||||||
knobPosition = (float)floorf(knobPosition);
|
knobPosition = floor(knobPosition);
|
||||||
|
|
||||||
|
|
||||||
/* calc actual position */
|
/* calc actual position */
|
||||||
|
|
Loading…
Reference in a new issue