From 56a41a26c089983e67dcde1909219224567d4341 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 5 Nov 2002 22:34:50 +0000 Subject: make buttons 2 pixel wider (fixes 'Options' button); don't use non-portable hack to swap ints svn-id: r5427 --- gui/newgui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gui/newgui.cpp') diff --git a/gui/newgui.cpp b/gui/newgui.cpp index 7e98d8d6ed..d070b5ab25 100644 --- a/gui/newgui.cpp +++ b/gui/newgui.cpp @@ -286,10 +286,10 @@ void NewGui::line(int x, int y, int x2, int y2, int16 color) int16 *ptr; if (x2 < x) - x2 ^= x ^= x2 ^= x; // Swap x2 and x + SWAP(x2, x); if (y2 < y) - y2 ^= y ^= y2 ^= y; // Swap y2 and y + SWAP(y2, y); ptr = getBasePtr(x, y); -- cgit v1.2.3