comparison Gui/interface.c @ 12068:df423e2d71dc

patch from Rune <runner@mail.tele.dk>
author pontscho
date Thu, 25 Mar 2004 21:49:48 +0000
parents 634a2b279b1a
children 9a495bdc3a1e
comparison
equal deleted inserted replaced
12067:22c74dfb2baf 12068:df423e2d71dc
133 int i,c = 0; 133 int i,c = 0;
134 for ( i=0;i < (int)strlen( out );i++ ) 134 for ( i=0;i < (int)strlen( out );i++ )
135 if ( out[i] != '%' ) t[c++]=out[i]; 135 if ( out[i] != '%' ) t[c++]=out[i];
136 else 136 else
137 { 137 {
138 char tmp[4] = "0xXX"; 138 char tmp[5] = "0xXX";
139 // if ( out[++i] == '%' ) { t[c++]='%'; continue; }; 139 // if ( out[++i] == '%' ) { t[c++]='%'; continue; };
140 tmp[2]=out[++i]; tmp[3]=out[++i]; 140 tmp[2]=out[++i]; tmp[3]=out[++i];
141 t[c++]=(char)strtol( tmp,(char **)NULL,0 ); 141 t[c++]=(char)strtol( tmp,(char **)NULL,0 );
142 } 142 }
143 free( out ); 143 free( out );
518 guiIntfStruct.Playing=1; 518 guiIntfStruct.Playing=1;
519 // if ( !gtkShowVideoWindow ) wsVisibleWindow( &appMPlayer.subWindow,wsHideWindow ); 519 // if ( !gtkShowVideoWindow ) wsVisibleWindow( &appMPlayer.subWindow,wsHideWindow );
520 break; 520 break;
521 case guiSetStop: 521 case guiSetStop:
522 guiIntfStruct.Playing=0; 522 guiIntfStruct.Playing=0;
523 if ( !gtkShowVideoWindow ) wsVisibleWindow( &appMPlayer.subWindow,wsHideWindow ); 523 // if ( !gtkShowVideoWindow ) wsVisibleWindow( &appMPlayer.subWindow,wsHideWindow );
524 break; 524 break;
525 case guiSetPause: guiIntfStruct.Playing=2; break; 525 case guiSetPause: guiIntfStruct.Playing=2; break;
526 } 526 }
527 mplState(); 527 mplState();
528 break; 528 break;