Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore_x


Modified Files:
        ecore_x_icccm.c 


Log Message:


correct return handling

===================================================================
RCS file: 
/cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/ecore_x_icccm.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- ecore_x_icccm.c     19 Apr 2005 13:39:02 -0000      1.23
+++ ecore_x_icccm.c     27 Apr 2005 07:46:57 -0000      1.24
@@ -355,8 +355,8 @@
    int                 stepx = 1, stepy = 1;
    double              mina = 0.0, maxa = 0.0;
 
-   if (XGetWMNormalHints(_ecore_x_disp, win, &hint, &mask) < Success)
-      return 0;
+   if (!XGetWMNormalHints(_ecore_x_disp, win, &hint, &mask))
+     return 0;
    if ((hint.flags & USPosition) || ((hint.flags & PPosition)))
      {
        if (request_pos)




-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to