Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_int_config_background.c Log Message: Minor fix for users that don't have e_config->default_desktop_bg set =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_int_config_background.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -3 -r1.12 -r1.13 --- e_int_config_background.c 10 Jan 2006 15:04:04 -0000 1.12 +++ e_int_config_background.c 10 Jan 2006 15:37:44 -0000 1.13 @@ -59,7 +59,15 @@ _fill_data(CFData *cfdata) { cfdata->bg_method = BG_SET_DEFAULT_DESK; - cfdata->current_file = strdup(e_config->desktop_default_background); + if (e_config->desktop_default_background) + { + cfdata->current_file = strdup(e_config->desktop_default_background); + } + else + { + cfdata->current_file = NULL; + } + /* TODO: get default bg */ } ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs