git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/branches/ecore-1.7@76962
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
* Fix escaping in ecore_file_escape_name() to handle tab and
newline right.
+2012-09-21 Carsten Haitzler (The Rasterman)
+
+ * Fix ecore_x_image_is_argb32_get() to return correctly on
+ endianess.
+
Fixes:
* ecore_evas rotation handling on some driver implementations
* ecore_file_escape_name() escape taba nd newline right.
+ * ecore_x_image_is_argb32_get() returns correctly given endianness.
Changes since Ecore 1.2.0:
--------------------------
(vis->green_mask == 0x00ff00) && (vis->blue_mask == 0x0000ff))
{
#ifdef WORDS_BIGENDIAN
- if (im->xim->byte_order == XCB_IMAGE_ORDER_LSB_FIRST)
- return EINA_TRUE;
+ if (im->xim->byte_order == XCB_IMAGE_ORDER_MSB_FIRST) return EINA_TRUE;
#else
- if (im->xim->byte_order == XCB_IMAGE_ORDER_MSB_FIRST)
- return EINA_TRUE;
+ if (im->xim->byte_order == XCB_IMAGE_ORDER_LSB_FIRST) return EINA_TRUE;
#endif
}
(vis->blue_mask == 0x0000ff))
{
#ifdef WORDS_BIGENDIAN
- if (im->xim->bitmap_bit_order == LSBFirst) return EINA_TRUE;
-#else
if (im->xim->bitmap_bit_order == MSBFirst) return EINA_TRUE;
+#else
+ if (im->xim->bitmap_bit_order == LSBFirst) return EINA_TRUE;
#endif
}
return EINA_FALSE;