Enlightenment CVS committal Author : lordchaos Project : e17 Module : proto
Dir : e17/proto/entropy/src/plugins Modified Files: etk_structure_viewer.c Log Message: * Stop crash =================================================================== RCS file: /cvsroot/enlightenment/e17/proto/entropy/src/plugins/etk_structure_viewer.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- etk_structure_viewer.c 21 Feb 2006 11:28:54 -0000 1.5 +++ etk_structure_viewer.c 21 Feb 2006 11:36:38 -0000 1.6 @@ -91,10 +91,14 @@ { entropy_generic_file* file = entropy_core_uri_generic_file_retrieve(files->files[i]); - printf("File is '%s' ---> %p\n", files->files[i], file); - printf("Destination: %s\n", e_event->file->uri); - - entropy_plugin_filesystem_file_copy(file, e_event->file->uri, instance); + if (file) { + printf("File is '%s' ---> %p\n", files->files[i], file); + printf("Destination: %s\n", e_event->file->uri); + + entropy_plugin_filesystem_file_copy(file, e_event->file->uri, instance); + } else { + printf("Argh! need to make one of these files!\n"); + } } } else { printf("Could not get instance for dropped row!\n"); ------------------------------------------------------- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs