From: Guenter B. <gu...@us...> - 2001-11-19 02:57:13
|
Update of /cvsroot/xine/xine-lib/src/xine-engine In directory usw-pr-cvs1:/tmp/cvs-serv18546/src/xine-engine Modified Files: configfile.c Log Message: make description strings optional - config options without description string will not appear in setup dialog Index: configfile.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/xine-engine/configfile.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- configfile.c 2001/11/18 21:38:23 1.8 +++ configfile.c 2001/11/19 02:57:10 1.9 @@ -109,7 +109,6 @@ assert (key); assert (def_value); - assert (description); #ifdef CONFIG_LOG printf ("configfile: registering %s\n", key); @@ -152,7 +151,6 @@ cfg_entry_t *entry; assert (key); - assert (description); #ifdef CONFIG_LOG printf ("configfile: registering %s\n", key); @@ -200,7 +198,6 @@ cfg_entry_t *entry; assert (key); - assert (description); #ifdef CONFIG_LOG printf ("configfile: registering %s\n", key); @@ -249,7 +246,6 @@ cfg_entry_t *entry; assert (key); - assert (description); #ifdef CONFIG_LOG printf ("configfile: registering %s\n", key); @@ -330,7 +326,6 @@ assert (key); assert (values); - assert (description); #ifdef CONFIG_LOG printf ("configfile: registering %s\n", key); @@ -438,7 +433,9 @@ entry = this->first; while (entry) { - fprintf (f_config, "# %s\n", entry->description); + if (entry->description) + fprintf (f_config, "# %s\n", entry->description); + switch (entry->type) { case CONFIG_TYPE_UNKNOWN: @@ -563,6 +560,9 @@ /* * $Log$ + * Revision 1.9 2001/11/19 02:57:10 guenter + * make description strings optional - config options without description string will not appear in setup dialog + * * Revision 1.8 2001/11/18 21:38:23 miguelfreitas * fix enum value saving * |