Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/lib/engines/common


Modified Files:
        evas_tiler.c 


Log Message:


dont allocate 0 buf

===================================================================
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/lib/engines/common/evas_tiler.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- evas_tiler.c        30 Oct 2005 03:03:53 -0000      1.5
+++ evas_tiler.c        28 Nov 2005 11:13:29 -0000      1.6
@@ -250,6 +250,7 @@
 static void
 tilebuf_setup(Tilebuf *tb)
 {
+   if ((tb->outbuf_w <= 0) || (tb->outbuf_h <= 0)) return;
 #ifdef RECTUPDATE
    tb->rb = evas_common_regionbuf_new(tb->outbuf_w, tb->outbuf_h);
 #else




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to