summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchengyemao <chengyemao>2002-03-26 20:13:39 (GMT)
committerchengyemao <chengyemao>2002-03-26 20:13:39 (GMT)
commiteae89c67d8e28ea5b6eeaa5dd5f760779cd509a3 (patch)
treeb11e588ce77d95ff8dcf8bc320915405332fdb5f
parent22b39f1fe3c4c5a08cbd960795d3f5bd1f74bef6 (diff)
downloadtk-eae89c67d8e28ea5b6eeaa5dd5f760779cd509a3.zip
tk-eae89c67d8e28ea5b6eeaa5dd5f760779cd509a3.tar.gz
tk-eae89c67d8e28ea5b6eeaa5dd5f760779cd509a3.tar.bz2
Changed bitmap_bit_order to LSBFirst in XCreateImage (bug 481255)
-rw-r--r--win/tkWinImage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinImage.c b/win/tkWinImage.c
index 448ad72..e4a153b 100644
--- a/win/tkWinImage.c
+++ b/win/tkWinImage.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWinImage.c,v 1.3 2000/01/06 02:22:51 hobbs Exp $
+ * RCS: @(#) $Id: tkWinImage.c,v 1.4 2002/03/26 20:13:39 chengyemao Exp $
*/
#include "tkWinInt.h"
@@ -221,7 +221,7 @@ XCreateImage(display, visual, depth, format, offset, data, width, height,
imagePtr->data = data;
imagePtr->byte_order = LSBFirst;
imagePtr->bitmap_unit = 8;
- imagePtr->bitmap_bit_order = MSBFirst;
+ imagePtr->bitmap_bit_order = LSBFirst;
imagePtr->bitmap_pad = bitmap_pad;
imagePtr->bits_per_pixel = depth;
imagePtr->depth = depth;