mirror of
https://github.com/reactos/reactos.git
synced 2024-10-06 17:35:07 +00:00
fixed reference to abs
svn path=/trunk/; revision=774
This commit is contained in:
parent
96d5e2c715
commit
6e605e712e
|
@ -615,7 +615,7 @@ int DIB_GetDIBWidthBytes(int width, int depth)
|
|||
|
||||
int DIB_GetDIBImageBytes (int width, int height, int depth)
|
||||
{
|
||||
return DIB_GetDIBWidthBytes( width, depth ) * abs( height );
|
||||
return DIB_GetDIBWidthBytes( width, depth ) * (height < 0 ? -height : height);
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
|
|
Loading…
Reference in a new issue