Mercurial > mplayer.hg
view Gui/config.c @ 1808:e37f7103df91
endless loop (bad/missing file) fixed
author | arpi |
---|---|
date | Fri, 31 Aug 2001 20:59:41 +0000 |
parents | d237c5d4b216 |
children |
line wrap: on
line source
#include <stdlib.h> #include <stdio.h> unsigned char * cfgAppName = "movieplayer"; unsigned char * cfgSkin = NULL; void cfgDefaults( void ) { if ( ( cfgSkin=(char *)calloc( 1,256 ) ) == NULL ) { fprintf( stderr,"[config] Not enough memory.\n" ); exit( 1 ); } strcpy( cfgSkin,"default" ); // strcpy( cfgSkin,"blueHeart" ); } int cfgRead( void ) { return 0; }