Enlightenment CVS committal

Author  : pfritz
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_paned.c 


Log Message:
remove possible segv

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_paned.c,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -3 -r1.61 -r1.62
--- ewl_paned.c 12 Nov 2007 22:42:22 -0000      1.61
+++ ewl_paned.c 18 Dec 2007 22:24:20 -0000      1.62
@@ -899,7 +899,7 @@
        if (!info)
                DRETURN(DLEVEL_STABLE);
        
-       memmove(info, info + 1, (p->info_size - (info - p->info) + 1) 
+       memmove(info, info + 1, (p->info_size - (info - p->info) - 1) 
                                * sizeof(Ewl_Paned_Size_Info));
        p->info = realloc(p->info, --p->info_size);
 



-------------------------------------------------------------------------
SF.Net email is sponsored by:
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