changeset 2911:7a8cc25832fa

skin change bug fix
author pontscho
date Wed, 14 Nov 2001 23:47:08 +0000
parents 56428bdf583e
children 2f04b5f9a615
files Gui/mplayer/play.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Gui/mplayer/play.c	Wed Nov 14 22:45:53 2001 +0000
+++ b/Gui/mplayer/play.c	Wed Nov 14 23:47:08 2001 +0000
@@ -185,11 +185,11 @@
    wsResizeWindow( &appMPlayer.subWindow,appMPlayer.sub.width,appMPlayer.sub.height );
    wsMoveWindow( &appMPlayer.subWindow,True,appMPlayer.sub.x,appMPlayer.sub.y );
   } 
- wsSetBackgroundRGB( &appMPlayer.subWindow,appMPlayer.subR,appMPlayer.subG,appMPlayer.subB );
  if ( appMPlayer.sub.Bitmap.Image ) wsConvert( &appMPlayer.subWindow,appMPlayer.sub.Bitmap.Image,appMPlayer.sub.Bitmap.ImageSize );
  if ( !mplShMem->Playing ) 
   {
    mplSubRender=1; 
+   wsSetBackgroundRGB( &appMPlayer.subWindow,appMPlayer.subR,appMPlayer.subG,appMPlayer.subB );
    wsClearWindow( appMPlayer.subWindow );
    wsPostRedisplay( &appMPlayer.subWindow );
   }