Simplify code by using FFSWAP

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24299 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
voroshil 2007-08-29 18:11:09 +00:00
parent 23d80af5c6
commit 9ef594f0e8
1 changed files with 1 additions and 4 deletions

View File

@ -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;