summaryrefslogtreecommitdiffstats
path: root/win/tkWinImage.c
diff options
context:
space:
mode:
authorchengyemao <chengyemao@noemail.net>2002-03-26 20:13:38 (GMT)
committerchengyemao <chengyemao@noemail.net>2002-03-26 20:13:38 (GMT)
commit16bd353af249744ef84bac0a6e17f979f3dd2871 (patch)
treeb11e588ce77d95ff8dcf8bc320915405332fdb5f /win/tkWinImage.c
parentbd42a5c72c1f178762f673700fc45ff6fc544d78 (diff)
downloadtk-16bd353af249744ef84bac0a6e17f979f3dd2871.zip
tk-16bd353af249744ef84bac0a6e17f979f3dd2871.tar.gz
tk-16bd353af249744ef84bac0a6e17f979f3dd2871.tar.bz2
Changed bitmap_bit_order to LSBFirst in XCreateImage (bug 481255)
FossilOrigin-Name: c1a533e15fafe54c9166b0dee1b13d89fa807f2f
Diffstat (limited to 'win/tkWinImage.c')
-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;