blob: 2f91cb2565a292678280c4c6d9b3631c617ab11f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- libs/libmythui/mythgesture.cpp.orig 2013-09-18 16:06:08.000000000 -0400
+++ libs/libmythui/mythgesture.cpp 2014-01-22 08:20:33.000000000 -0500
@@ -28,6 +28,7 @@
#include "mythgesture.h"
+#include <cstdlib>
#include <cmath>
#include <algorithm>
@@ -283,7 +284,7 @@
int dely = p.y() - points.back().y();
/* step by the greatest delta direction */
- if (abs(delx) > abs(dely))
+ if (std::abs(delx) > std::abs(dely))
{
float iy = points.back().y();
|