diff options
author | Max Horn | 2002-11-05 22:36:05 +0000 |
---|---|---|
committer | Max Horn | 2002-11-05 22:36:05 +0000 |
commit | ca94844b7574223671c8a11197a6332f4dff6126 (patch) | |
tree | dfe703529eb42d5f89ae49bd458d798b011d032e /scumm/debug.cpp | |
parent | 56a41a26c089983e67dcde1909219224567d4341 (diff) | |
download | scummvm-rg350-ca94844b7574223671c8a11197a6332f4dff6126.tar.gz scummvm-rg350-ca94844b7574223671c8a11197a6332f4dff6126.tar.bz2 scummvm-rg350-ca94844b7574223671c8a11197a6332f4dff6126.zip |
don't use non-portable hack to swap ints, it's so much easier using SWAP
svn-id: r5428
Diffstat (limited to 'scumm/debug.cpp')
-rw-r--r-- | scumm/debug.cpp | 2 |
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); |