aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/debug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/debug.cpp b/scumm/debug.cpp
index b91b52aa06..7ce7715a69 100644
--- a/scumm/debug.cpp
+++ b/scumm/debug.cpp
@@ -390,7 +390,7 @@ static void hline(Scumm *scumm, int x1, int x2, int y, byte color)
byte *ptr;
if (x2 < x1)
- x2 ^= x1 ^= x2 ^= x1; // Swap x2 and x1
+ SWAP(x2, x1);
ptr = getBasePtr(scumm, x1, y);