Mercurial > mplayer.hg
annotate Gui/config.c @ 1740:46b49783b708
Rearranged C++ check.
author | atmos4 |
---|---|
date | Wed, 29 Aug 2001 12:15:09 +0000 |
parents | d237c5d4b216 |
children |
rev | line source |
---|---|
1693 | 1 |
2 #include <stdlib.h> | |
3 #include <stdio.h> | |
4 | |
5 unsigned char * cfgAppName = "movieplayer"; | |
6 unsigned char * cfgSkin = NULL; | |
7 | |
8 void cfgDefaults( void ) | |
9 { | |
10 if ( ( cfgSkin=(char *)calloc( 1,256 ) ) == NULL ) | |
11 { | |
12 fprintf( stderr,"[config] Not enough memory.\n" ); | |
13 exit( 1 ); | |
14 } | |
15 strcpy( cfgSkin,"default" ); | |
16 // strcpy( cfgSkin,"blueHeart" ); | |
17 } | |
18 | |
19 int cfgRead( void ) | |
20 { | |
21 return 0; | |
22 } |