Fix clang warning
This commit is contained in:
parent
2dd8c0f55b
commit
d87cd364db
@ -14,6 +14,7 @@
|
||||
#include "utils/string_utils.hpp"
|
||||
#include "utils/time.hpp"
|
||||
|
||||
#include <cstdlib>
|
||||
|
||||
namespace irr
|
||||
{
|
||||
@ -385,7 +386,7 @@ bool CGUISTKListBox::OnEvent(const SEvent& event)
|
||||
}
|
||||
|
||||
if (Selecting &&
|
||||
fabs(event.MouseInput.Y - MousePosY) > ItemHeight/3)
|
||||
std::abs(event.MouseInput.Y - MousePosY) > ItemHeight/3)
|
||||
{
|
||||
Moving = true;
|
||||
Selecting = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user