diff options
author | Johannes Schickel | 2016-02-21 17:45:23 +0100 |
---|---|---|
committer | Johannes Schickel | 2016-02-21 17:45:30 +0100 |
commit | b6b2bcf6071637d8210d124a7d8090969ba045d1 (patch) | |
tree | c4b9047313bf63f49d54ced808996f736c12e020 /graphics | |
parent | 210a6b10ac220258ab705ffef53e40cb656d04d6 (diff) | |
download | scummvm-rg350-b6b2bcf6071637d8210d124a7d8090969ba045d1.tar.gz scummvm-rg350-b6b2bcf6071637d8210d124a7d8090969ba045d1.tar.bz2 scummvm-rg350-b6b2bcf6071637d8210d124a7d8090969ba045d1.zip |
GRAPHICS: Remove superfluous ABS usage to silence a warning.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/VectorRendererSpec.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/VectorRendererSpec.cpp b/graphics/VectorRendererSpec.cpp index b360327c55..26f0ced625 100644 --- a/graphics/VectorRendererSpec.cpp +++ b/graphics/VectorRendererSpec.cpp @@ -804,7 +804,7 @@ drawLine(int x1, int y1, int x2, int y2) { ptr += pitch; } - } else if (ABS(dx) == ABS(dy)) { // diagonal lines + } else if (dx == dy) { // diagonal lines // these ones also use a fixed pitch increase pitch += (x2 > x1) ? 1 : -1; |