Enlightenment CVS committal
Author : rbdpngn
Project : e17
Module : libs/estyle
Dir : e17/libs/estyle/src
Modified Files:
Estyle.h estyle.c
Log Message:
Remove a bunch of duplicated lines, these resulted in some memory corruption.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/estyle/src/Estyle.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- Estyle.h 14 Jan 2003 18:50:30 -0000 1.13
+++ Estyle.h 22 Jul 2003 22:04:43 -0000 1.14
@@ -6,16 +6,16 @@
#include <Evas.h>
-/*
- * The estyle holds all information necessary for display and layout of the text
- */
-typedef struct _estyle Estyle;
-
-
#ifdef __cplusplus
extern "C"
{
#endif
+
+
+/*
+ * The estyle holds all information necessary for display and layout of the text
+ */
+typedef struct _estyle Estyle;
/*
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/estyle/src/estyle.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -3 -r1.22 -r1.23
--- estyle.c 1 Mar 2003 22:52:38 -0000 1.22
+++ estyle.c 22 Jul 2003 22:04:43 -0000 1.23
@@ -608,25 +608,6 @@
FREE(content);
- /*
- * Give this new estyle the same settings as the previous estyle.
- */
- estyle_set_clip(new_es, estyle_get_clip(es));
- estyle_set_font(new_es, estyle_get_font(es), estyle_get_font_size(es));
-
- /*
- * Set the new color for the estyle.
- */
- estyle_get_color(es, &r, &g, &b, &a);
- estyle_set_color(new_es, r, g, b, a);
-
- /*
- * Put it on the same layer as the old estyle
- */
- estyle_set_layer(new_es, estyle_get_layer(es));
-
- FREE(content);
-
return new_es;
}
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs