From: <enl...@li...> - 2005-06-06 17:46:21
|
Enlightenment CVS committal Author : kwo Project : e16 Module : e Dir : e16/e/src Modified Files: backgrounds.c Log Message: Fix segv. =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/backgrounds.c,v retrieving revision 1.29 retrieving revision 1.30 diff -u -3 -r1.29 -r1.30 --- backgrounds.c 21 May 2005 21:49:36 -0000 1.29 +++ backgrounds.c 6 Jun 2005 17:46:14 -0000 1.30 @@ -2398,6 +2398,9 @@ int len; Background *bg; + if (!p) + return; + bg = FindItem(name, 0, LIST_FINDBY_NAME, LIST_TYPE_BACKGROUND); if (!bg) { |