[Mplayer-cvslog] CVS: main/libvo font_load.c,1.19,1.20

Adam Tla/lka atlka at mplayer.dev.hu
Tue Oct 16 14:51:15 CEST 2001


Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv16573

Modified Files:
	font_load.c 
Log Message:
cosmetic changes


Index: font_load.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/font_load.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- font_load.c	16 Oct 2001 10:14:04 -0000	1.19
+++ font_load.c	16 Oct 2001 12:50:59 -0000	1.20
@@ -59,7 +59,7 @@
 f=fopen(fname,"rt");if(!f){ printf("font: can't open file: %s\n",fname); return NULL;}
 
 i = strlen (fname) - 9;
-if ((dn = malloc(i+1))!=NULL){
+if ((dn = malloc(i+1))){
    strncpy (dn, fname, i);
    dn[i]='\0';
 }




More information about the MPlayer-cvslog mailing list