Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        hints.c 


Log Message:
Fix segv on error during early startup.

===================================================================
RCS file: /cvs/e/e16/e/src/hints.c,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -3 -r1.63 -r1.64
--- hints.c     19 Mar 2006 14:59:48 -0000      1.63
+++ hints.c     18 Apr 2006 23:45:34 -0000      1.64
@@ -406,6 +406,9 @@
    int                 i, ax, ay, n_desks;
    unsigned int       *c;
 
+   if (!DesksGetCurrent())     /* Quit if current desk isn't assigned yet */
+      return;
+
    n_desks = DesksGetNumber();
    if (n_desks <= 0)
       return;




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to