From 8fde780d464f4390827e4632ea1f081b044b84cc Mon Sep 17 00:00:00 2001 From: pontscho Date: Mon, 1 Oct 2001 09:30:46 +0000 Subject: some bug fix, and sub window render speed up.. 10l kola ? :) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2026 b3059339-0415-0410-9bf9-f77b7e298cf2 --- Gui/skin/skin.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Gui/skin') diff --git a/Gui/skin/skin.c b/Gui/skin/skin.c index 973363bd15..e5ba002699 100644 --- a/Gui/skin/skin.c +++ b/Gui/skin/skin.c @@ -162,15 +162,15 @@ int __base( char * in ) } if ( !strcmp( winList,"sub" ) ) { - defList->sub.x=x; - defList->sub.y=y; defList->sub.type=itBase; strcpy( tmp,path ); strcat( tmp,fname ); if ( skinBPRead( tmp,&defList->sub.Bitmap ) ) return 1; + defList->sub.x=x; + defList->sub.y=y; defList->sub.width=defList->sub.Bitmap.Width; defList->sub.height=defList->sub.Bitmap.Height; #ifdef DEBUG - dbprintf( 3,"[skin] width: %d height: %d\n",defList->sub.width,defList->sub.height ); + dbprintf( 3,"[skin] %d,%d %dx%d\n",defList->sub.x,defList->sub.y,defList->sub.width,defList->sub.height ); #endif } /* -- cgit v1.2.3