diff options
Diffstat (limited to 'app/xterm/cachedGCs.c')
-rw-r--r-- | app/xterm/cachedGCs.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/app/xterm/cachedGCs.c b/app/xterm/cachedGCs.c index 88819fc78..3c525ee5e 100644 --- a/app/xterm/cachedGCs.c +++ b/app/xterm/cachedGCs.c @@ -1,4 +1,4 @@ -/* $XTermId: cachedGCs.c,v 1.51 2009/02/13 00:37:46 tom Exp $ */ +/* $XTermId: cachedGCs.c,v 1.52 2009/03/26 23:59:32 tom Exp $ */ /************************************************************ @@ -812,9 +812,7 @@ swapCgs(XtermWidget xw, VTwin * cgsWin, CgsEnum dstCgsId, CgsEnum srcCgsId) int srcIndex = dataIndex(src); int dstIndex = dataIndex(dst); - tmp = *dst; - *dst = *src; - *src = tmp; + EXCHANGE(*src, *dst, tmp); relinkData(src, dstIndex); relinkData(dst, srcIndex); |