Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/modules/pager


Modified Files:
        e_mod_main.c 


Log Message:
No need to subtract 1

===================================================================
RCS file: /cvs/e/e17/apps/e/src/modules/pager/e_mod_main.c,v
retrieving revision 1.228
retrieving revision 1.229
diff -u -3 -r1.228 -r1.229
--- e_mod_main.c        8 Jan 2008 00:52:37 -0000       1.228
+++ e_mod_main.c        8 Jan 2008 06:01:24 -0000       1.229
@@ -2489,7 +2489,7 @@
    
    e_zone_desk_count_get(pp->pager->zone, &max_x, NULL);
 
-   if (current_desk->x + ev->z > max_x - 1)
+   if (current_desk->x + ev->z >= max_x)
      _pager_popup_desk_switch(1, 1);
    else if (current_desk->x + ev->z < 0)
      _pager_popup_desk_switch(-1, -1);



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to