Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        arrange.c 


Log Message:
Fix potential segv during window placement.

===================================================================
RCS file: /cvs/e/e16/e/src/arrange.c,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -3 -r1.106 -r1.107
--- arrange.c   24 Mar 2008 11:12:39 -0000      1.106
+++ arrange.c   25 Mar 2008 22:00:41 -0000      1.107
@@ -367,7 +367,7 @@
      }
 
    /* for every floating rect in order, "fit" it into the sorted list */
-   i = ((fixed_count + floating_count) * 2) + 2;
+   i = ((fixed_count + floating_count) * 4) + 2;
    max_spaces = i * i;
    xarray = EMALLOC(int, i);
    yarray = EMALLOC(int, i);



-------------------------------------------------------------------------
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