[Mplayer-cvslog] CVS: main/Gui interface.h,1.2,1.3

Zoltan Ponekker pontscho at mplayer.dev.hu
Sun Feb 24 20:34:54 CET 2002


Update of /cvsroot/mplayer/main/Gui
In directory mplayer:/var/tmp.root/cvs-serv14873/Gui

Modified Files:
	interface.h 
Log Message:
fix playtree bug. but ... i dont' see this ... bazmeg

Index: interface.h
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/interface.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- interface.h	23 Feb 2002 15:12:50 -0000	1.2
+++ interface.h	24 Feb 2002 19:34:51 -0000	1.3
@@ -100,8 +100,9 @@
 extern void guiGetEvent( int type,char * arg );
 extern void guiEventHandling( void );
 
-#define guiSetFilename( s,n ) \
- { if ( s ) free( s ); s=NULL; s=strdup( n ); }
+#define gstrdup( s,ss ) { s=malloc( strlen( ss ) + 3 ); strcpy( s,ss ); }
+
+#define guiSetFilename( s,n ) { s=strdup( n ); }
 
 #define guiSetDF( s,d,n )                       \
  {                                              \
@@ -110,4 +111,4 @@
   sprintf( s,"%s/%s",d,n );                     \
  }
 
-#endif
\ No newline at end of file
+#endif




More information about the MPlayer-cvslog mailing list