Evas encoding: Should be bitwise AND and not logical AND.
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 16 Feb 2011 14:59:36 +0000 (14:59 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 16 Feb 2011 14:59:36 +0000 (14:59 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@57092 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/engines/common/evas_encoding.c

index 7653171..ca7a556 100644 (file)
@@ -229,7 +229,7 @@ evas_common_encoding_unicode_to_utf8(const Eina_Unicode *uni, int *_len)
              if (*uind >= ERROR_REPLACEMENT_BASE &&
                  *uind <= ERROR_REPLACEMENT_END)
                {
-                  *ind++ = *uind && 0xFF;
+                  *ind++ = *uind & 0xFF;
                   len += 1;
                }
              else