Enlightenment CVS committal
Author : pfritz
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/lib
Modified Files:
ewl_text_context.c
Log Message:
add note
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_text_context.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- ewl_text_context.c 28 Jun 2008 10:02:31 -0000 1.12
+++ ewl_text_context.c 28 Jun 2008 10:11:27 -0000 1.13
@@ -513,6 +513,8 @@
key ^= ecore_str_hash(tx->font_source);
key ^= (tx->size << 5);
key ^= (tx->styles << 7);
+ /* FIXME: we need to add align and wrap, to prevent degenerate
+ * hash values */
#define COLOR_HASH(c) (c.r << 24 | c.g << 16 | c.b << 8 | c.a)
key ^= COLOR_HASH(tx->color);
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs