Fix ROUND macro
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3127 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
47bc8348ea
commit
c7b36220bb
@ -42,7 +42,7 @@ class ServerBitmap;
|
|||||||
class LayerData;
|
class LayerData;
|
||||||
|
|
||||||
#ifndef ROUND
|
#ifndef ROUND
|
||||||
#define ROUND(a) ( (a-long(a))>=.5)?(long(a)+1):(long(a))
|
#define ROUND(a) ( (long)(a+.5) )
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
Loading…
Reference in New Issue
Block a user