Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
iclass.c
Log Message:
Fix missing initialisation of PmapMask's.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/iclass.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -3 -r1.29 -r1.30
--- iclass.c 20 Mar 2004 15:49:05 -0000 1.29
+++ iclass.c 31 Mar 2004 19:16:18 -0000 1.30
@@ -785,11 +785,15 @@
GC gc;
EDBUG(4, "IclassApplyCopy");
- if ((!iclass) || (!win) || (w < 1) || (h < 1) || (!pmm))
+
+ if (pmm == NULL)
EDBUG_RETURN_;
- pmm->pmap = 0;
- pmm->mask = 0;
+ pmm->type = 0;
+ pmm->pmap = pmm->mask = 0;
+
+ if ((!iclass) || (!win) || (w < 1) || (h < 1))
+ EDBUG_RETURN_;
if (iclass->external)
EDBUG_RETURN_;
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs