Enlightenment CVS committal

Author  : handyande
Project : misc
Module  : engage

Dir     : misc/engage/src/module


Modified Files:
        e_mod_main.c 


Log Message:
seb has a good point
===================================================================
RCS file: /cvsroot/enlightenment/misc/engage/src/module/e_mod_main.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -3 -r1.49 -r1.50
--- e_mod_main.c        10 Jun 2005 09:24:36 -0000      1.49
+++ e_mod_main.c        10 Jun 2005 09:47:44 -0000      1.50
@@ -2294,10 +2294,11 @@
    static char *ignores[] = { "Gkrellm2", "trayer", NULL};
    char       **cur;
    Ecore_X_Window_State *state, *tmp;
-   unsigned int num;
+   unsigned int num, counter;
    
    ecore_x_netwm_window_state_get(bd->win, &state, &num);
-   for (tmp = state; tmp; tmp++)
+   counter = 0;
+   for (tmp = state; counter < num; tmp++ && counter++)
      if (tmp == ECORE_X_WINDOW_STATE_SKIP_TASKBAR)
        return 1;
    




-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to