summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
Diffstat (limited to 'stream')
-rw-r--r--stream/tvi_vbi.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/stream/tvi_vbi.c b/stream/tvi_vbi.c
index 5bb16424b7..7c812fc9bc 100644
--- a/stream/tvi_vbi.c
+++ b/stream/tvi_vbi.c
@@ -601,10 +601,7 @@ static void decode_page(tt_char* p,int lang,unsigned char* raw)
if ((c&0x60)==0){ //control chars
if(c>=0x08 && c<=0x09){//Flash/Steady
- int tmp;
- tmp=bg_color;
- bg_color=fg_color;
- fg_color=tmp;
+ FFSWAP(int,bg_color,fg_color);
if(c==0x09){
p[i].fg=fg_color;
p[i].bg=bg_color;