diff options
author | Christof Pintaske <cp@openoffice.org> | 2001-06-28 12:22:47 +0000 |
---|---|---|
committer | Christof Pintaske <cp@openoffice.org> | 2001-06-28 12:22:47 +0000 |
commit | 3ccca3547af8693bf1e2a64075f009514afc42df (patch) | |
tree | fed72433f3f3b40584431c7ad56336fa9eb1004d | |
parent | aed57bf8299c056a9cd0b7fc0f87c4e745da89b5 (diff) |
#78724# little and big endian 16bit images need different treatment
-rw-r--r-- | vcl/os2/source/gdi/salbmp.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/os2/source/gdi/salbmp.cxx b/vcl/os2/source/gdi/salbmp.cxx index d53814a481a5..b5922dc932db 100644 --- a/vcl/os2/source/gdi/salbmp.cxx +++ b/vcl/os2/source/gdi/salbmp.cxx @@ -2,9 +2,9 @@ * * $RCSfile: salbmp.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 17:05:34 $ + * last change: $Author: cp $ $Date: 2001-06-28 13:22:47 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -599,7 +599,7 @@ BitmapBuffer* SalBitmap::AcquireBuffer( BOOL bReadOnly ) ( pBIH->cBitCount == 1 ? BMP_FORMAT_1BIT_MSB_PAL : pBIH->cBitCount == 4 ? BMP_FORMAT_4BIT_MSN_PAL : pBIH->cBitCount == 8 ? BMP_FORMAT_8BIT_PAL : - pBIH->cBitCount == 16 ? BMP_FORMAT_16BIT_TC_MASK : + pBIH->cBitCount == 16 ? BMP_FORMAT_16BIT_TC_LSB_MASK : pBIH->cBitCount == 24 ? BMP_FORMAT_24BIT_TC_BGR : pBIH->cBitCount == 32 ? BMP_FORMAT_32BIT_TC_MASK : 0UL ); |