diff options
author | chengyemao <chengyemao> | 2002-03-26 20:13:39 (GMT) |
---|---|---|
committer | chengyemao <chengyemao> | 2002-03-26 20:13:39 (GMT) |
commit | 53cb02ee4a46f57af0f6cc1d01acbe97dd895bab (patch) | |
tree | b11e588ce77d95ff8dcf8bc320915405332fdb5f /win | |
parent | c2503452a2b8952c5b823dbefe650194a1093a93 (diff) | |
download | tk-53cb02ee4a46f57af0f6cc1d01acbe97dd895bab.zip tk-53cb02ee4a46f57af0f6cc1d01acbe97dd895bab.tar.gz tk-53cb02ee4a46f57af0f6cc1d01acbe97dd895bab.tar.bz2 |
Changed bitmap_bit_order to LSBFirst in XCreateImage (bug 481255)
Diffstat (limited to 'win')
-rw-r--r-- | win/tkWinImage.c | 4 |
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; |