Enlightenment CVS committal Author : pfritz Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_text_context.c Log Message: fix context_hash_cmp =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_text_context.c,v retrieving revision 1.13 retrieving revision 1.14 diff -u -3 -r1.13 -r1.14 --- ewl_text_context.c 28 Jun 2008 10:11:27 -0000 1.13 +++ ewl_text_context.c 11 Aug 2008 12:15:32 -0000 1.14 @@ -537,7 +537,7 @@ DENTER_FUNCTION(DLEVEL_STABLE); -#define KEY_BUILD(c) (c.r | c.g | c.b | c.a) +#define KEY_BUILD(c) ((c.r << 24) | (c.g << 16) | (c.b << 8) | c.a) #define KEY_COMPARE(k1, k2) if (k1 > k2) goto CTX1_LARGER; else if (k2 > k1) goto CTX2_LARGER; KEY_COMPARE(ecore_str_compare(tx1->font, tx2->font), 0); ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs