Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        sound.c 


Log Message:
Fix crash on opening certain dialogs when sound is enabled (Valdis Kletnieks).

===================================================================
RCS file: /cvs/e/e16/e/src/sound.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -3 -r1.50 -r1.51
--- sound.c     9 Dec 2006 21:32:03 -0000       1.50
+++ sound.c     13 Jan 2007 18:14:26 -0000      1.51
@@ -271,6 +271,9 @@
    if (!Conf_sound.enable)
       return;
 
+   if (!name || !*name)
+      return;
+
    sclass = SclassFind(name);
    SclassApply(sclass);
 }



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to